|
BenBot 1.7.5
A chess engine
|
#include <libbenbot/data-structures/TranspositionTable.hpp>
Public Member Functions | |
| constexpr auto | operator== (const TTData &other) const noexcept -> bool=default |
Public Attributes | |
| std::optional< Move > | bestMove |
| eval::Value | eval { UINT16_C(0) } |
| EvalType | evalType { EvalType::Alpha } |
| size_t | searchedDepth { 0uz } |
This POD struct contains the data stored in the transposition table for a position. The data is returned from the table by copy.
Definition at line 66 of file TranspositionTable.hpp.
|
constexprdefaultnoexcept |
| std::optional<Move> ben_bot::TTData::bestMove |
If a conclusive best move was found in this position, it is stored here. Sometimes this may be nullopt if everything failed low (i.e. score <= alpha).
Definition at line 82 of file TranspositionTable.hpp.
| eval::Value ben_bot::TTData::eval { UINT16_C(0) } |
The evaluation of this position. See evalType to determine the exact meaning of this value.
Definition at line 73 of file TranspositionTable.hpp.
| EvalType ben_bot::TTData::evalType { EvalType::Alpha } |
Gives the exact meaning of the eval value.
Definition at line 76 of file TranspositionTable.hpp.
| size_t ben_bot::TTData::searchedDepth { 0uz } |
The depth that the position was searched to.
Definition at line 68 of file TranspositionTable.hpp.