Data shared amoungst all instances of ZobristHash. More...
Public Member Functions | |
| GlobalData () | |
| void | SetPointers () |
| void | GetHashes () |
Public Attributes | |
| hash_t | m_hashes [NUM_HASHES] |
| hash_t * | m_black_hashes |
| hash_t * | m_white_hashes |
| hash_t * | m_color_hashes [BLACK_AND_WHITE] |
| hash_t * | m_toPlay_hashes [BLACK_WHITE_EMPTY] |
Static Public Attributes | |
| static const int | NUM_HASHES = 4096 |
Data shared amoungst all instances of ZobristHash.
Definition at line 55 of file ZobristHash.hpp.
| ZobristHash::GlobalData::GlobalData | ( | ) |
Definition at line 22 of file ZobristHash.cpp.
References GetHashes(), and SetPointers().
| void ZobristHash::GlobalData::GetHashes | ( | ) |
Definition at line 46 of file ZobristHash.cpp.
References m_hashes, NUM_HASHES, and s_predefined_hashes.
Referenced by GlobalData().
| void ZobristHash::GlobalData::SetPointers | ( | ) |
Definition at line 28 of file ZobristHash.cpp.
References BLACK, EMPTY, m_black_hashes, m_color_hashes, m_hashes, m_toPlay_hashes, m_white_hashes, and WHITE.
Referenced by GlobalData().
Definition at line 61 of file ZobristHash.hpp.
Referenced by ZobristHash::Compute(), and SetPointers().
Definition at line 65 of file ZobristHash.hpp.
Referenced by SetPointers(), and ZobristHash::Update().
Definition at line 59 of file ZobristHash.hpp.
Referenced by GetHashes(), and SetPointers().
Definition at line 67 of file ZobristHash.hpp.
Referenced by ZobristHash::Hash(), and SetPointers().
Definition at line 63 of file ZobristHash.hpp.
Referenced by ZobristHash::Compute(), and SetPointers().
const int ZobristHash::GlobalData::NUM_HASHES = 4096 [static] |
Definition at line 57 of file ZobristHash.hpp.
Referenced by GetHashes().