Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add age to transposition table replacement scheme #23

Merged
merged 9 commits into from
May 24, 2024

Conversation

kelseyde
Copy link
Owner

@kelseyde kelseyde commented May 23, 2024

New order of preference for replacement is:

  • An empty entry.
  • An entry with the same zobrist key and a depth less than or equal to the new entry.
  • The oldest entry in the bucket, stored further back in the game and so less likely to be relevant.
  • The entry with the lowest depth.

Versus 3.4.0 @ 10+0.1:

Finished game 2649 (Calvin DEV vs Calvin): * {No result}
Score of Calvin DEV vs Calvin: 1060 - 932 - 647  [0.524] 2639
...      Calvin DEV playing White: 544 - 448 - 328  [0.536] 1320
...      Calvin DEV playing Black: 516 - 484 - 319  [0.512] 1319
...      White vs Black: 1028 - 964 - 647  [0.512] 2639
Elo difference: 16.9 +/- 11.5, LOS: 99.8 %, DrawRatio: 24.5 %

@kelseyde kelseyde merged commit 9c3b330 into main May 24, 2024
@kelseyde kelseyde deleted the feature/transposition-table-aging branch July 17, 2024 21:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant