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 TT implementation. #28

Merged
merged 9 commits into from
Jun 17, 2024
Merged

Add TT implementation. #28

merged 9 commits into from
Jun 17, 2024

Commits on May 28, 2024

  1. Add TT implementation.

    DomiKoPL committed May 28, 2024
    Configuration menu
    Copy the full SHA
    aee7551 View commit details
    Browse the repository at this point in the history

Commits on May 30, 2024

  1. Add Lock-less TT implementation.

    Implementation based on https://www.chessprogramming.org/Shared_Hash_Table\#Lockless.
    TTData stores score, move, depth, age and type.
    DomiKoPL committed May 30, 2024
    Configuration menu
    Copy the full SHA
    ef3cdcd View commit details
    Browse the repository at this point in the history

Commits on May 31, 2024

  1. Configuration menu
    Copy the full SHA
    7ff6a48 View commit details
    Browse the repository at this point in the history
  2. Change std::vector to std::unique_ptr.

    std::vector requires elements to be copy-constructible, which std::atomic doesn't allow. I guess we won't be resizing the TT after the creation, so simple dynamic array should be enough for now.
    DomiKoPL committed May 31, 2024
    Configuration menu
    Copy the full SHA
    4c69db5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f3eef39 View commit details
    Browse the repository at this point in the history
  4. Add TT library.

    DomiKoPL committed May 31, 2024
    Configuration menu
    Copy the full SHA
    a2aa990 View commit details
    Browse the repository at this point in the history
  5. Fix GoogleTest cmake.

    DomiKoPL committed May 31, 2024
    Configuration menu
    Copy the full SHA
    66f112a View commit details
    Browse the repository at this point in the history
  6. Add first TT test.

    DomiKoPL committed May 31, 2024
    Configuration menu
    Copy the full SHA
    5736452 View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2024

  1. fix typo in tt.cpp

    Gustav2137 committed Jun 17, 2024
    Configuration menu
    Copy the full SHA
    51bda72 View commit details
    Browse the repository at this point in the history