forked from nionita/Barbarossa
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Search depth in TT & small technical optimizations
Search depth corrections: - draw & mated paths are valid for any depth, so we give them a depth of 20 - when we get a score/path from TT, the TT entry depth will add to the current search depth - putting such results again in TT with the cumulate depth is a mistake and is not the same as if we searched to that total depth, so we correct this - all lines like let de = max d (pathDepth s) deleted - also as a result of the previous depth calculation of the found path it means then path depts can get big, but our TT has only 6 bits for the depth, so we limit the depth to 40 when we write to the TT Other changes: - small optimization in QS (call of qSearchLims) - some renames - some explaining comments
- Loading branch information
Showing
3 changed files
with
51 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters