Skip to content
This repository has been archived by the owner on Jan 7, 2024. It is now read-only.

Transposition tables and more #4

Merged
merged 8 commits into from
Aug 4, 2022
Merged

Transposition tables and more #4

merged 8 commits into from
Aug 4, 2022

Conversation

cytronicoder
Copy link
Owner

This is an ongoing development, and I will update this PR constantly.

This will close #2.

Notable changes

  • Implemented a simple transposition table, favoring storage of the most recently explored nodes
    • The table can store either frequent positions or positions that take a lot of time to compute
  • Implemented iterative deepening (increasing the depth of search while keeping shallow search results in transposition table) and null window search (an [alpha; beta] window of minimal size)

@cytronicoder cytronicoder added the enhancement New feature or request label Aug 4, 2022
@cytronicoder cytronicoder self-assigned this Aug 4, 2022
@cytronicoder cytronicoder linked an issue Aug 4, 2022 that may be closed by this pull request
@cytronicoder
Copy link
Owner Author

We will need to create an optimized transposition table and set a lower bound: When an alpha-beta cut prunes the exploration, the returned score is the lower bound. Keeping and reusing these lower bound scores in a transposition table can help reduce the number of explored nodes.

@cytronicoder
Copy link
Owner Author

However, I can merge this in for now.

@cytronicoder cytronicoder marked this pull request as ready for review August 4, 2022 21:07
@cytronicoder cytronicoder merged commit 927d5fc into main Aug 4, 2022
@cytronicoder cytronicoder deleted the transposition-tables branch August 4, 2022 21:07
@cytronicoder
Copy link
Owner Author

cytronicoder commented May 2, 2023

We will need to create an optimized transposition table and set a lower bound: When an alpha-beta cut prunes the exploration, the returned score is the lower bound. Keeping and reusing these lower bound scores in a transposition table can help reduce the number of explored nodes.

#6 will implement this!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Transposition tables and setting bounds
1 participant