Skip to content

Commit

Permalink
Updated the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
programarivm committed Dec 31, 2024
1 parent 4da27a2 commit 459e9c0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/heuristics.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ White is slightly better than Black because the value obtained is a positive num

### Median Evaluation

The median is the value in the middle of the evaluation array.
The median is the value in the middle of the evaluation array without counting the zeros.

```php
use Chess\EvalArray;
Expand Down Expand Up @@ -241,9 +241,11 @@ echo $mode;
```

```text
1
NULL
```

No mode exists since there are no repeating numbers in the evaluation array.

## Oscillations of a Game by Evaluation Feature

[Chess\SanHeuristics](https://github.com/chesslablab/php-chess/blob/main/tests/unit/SanHeuristicsTest.php) returns the oscillations of an evaluation feature in the time domain.
Expand Down

0 comments on commit 459e9c0

Please sign in to comment.