Skip to content

Commit

Permalink
Deployed c1b8f36 with MkDocs version: 1.5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
programarivm committed Dec 31, 2024
1 parent d5fed99 commit 82ed594
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
9 changes: 4 additions & 5 deletions heuristics/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@

<li class="nav-item" data-level="1"><a href="#heuristics" class="nav-link">Heuristics</a>
<ul class="nav flex-column">
<li class="nav-item" data-level="2"><a href="#evaluation-function" class="nav-link">Evaluation Function</a>
<li class="nav-item" data-level="2"><a href="#evaluation-functions" class="nav-link">Evaluation Functions</a>
<ul class="nav flex-column">
</ul>
</li>
Expand Down Expand Up @@ -276,7 +276,7 @@ <h1 id="heuristics">Heuristics</h1>
</tbody>
</table>
<p>The evaluation features are used in several classes.</p>
<h2 id="evaluation-function">Evaluation Function</h2>
<h2 id="evaluation-functions">Evaluation Functions</h2>
<p><a href="https://github.com/chesslablab/php-chess/blob/main/tests/unit/EvalArrayTest.php">Chess\EvalArray</a> allows to transform a FEN position to numbers between -1 and +1. -1 is the best possible evaluation for Black and +1 the best possible evaluation for White. Both forces being set to 0 means they're balanced.</p>
<pre><code class="language-php">use Chess\EvalArray;
use Chess\FenToBoardFactory;
Expand Down Expand Up @@ -382,10 +382,9 @@ <h3 id="steinitz-evaluation">Steinitz Evaluation</h3>

$board = FenToBoardFactory::create($fen);

$normd = EvalArray::normalization(new CompleteFunction(), $board);
$count = EvalArray::steinitz($normd);
$steinitz = EvalArray::steinitz(new CompleteFunction(), $board);

echo $count;
echo $steinitz;
</code></pre>
<pre><code class="language-text">1
</code></pre>
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -288,5 +288,5 @@ <h4 class="modal-title" id="keyboardModalLabel">Keyboard Shortcuts</h4>

<!--
MkDocs version : 1.5.3
Build Date UTC : 2024-12-31 16:41:59.638780+00:00
Build Date UTC : 2024-12-31 17:58:00.659229+00:00
-->
2 changes: 1 addition & 1 deletion search/search_index.json

Large diffs are not rendered by default.

Binary file modified sitemap.xml.gz
Binary file not shown.

0 comments on commit 82ed594

Please sign in to comment.