Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  

ZobristHash::GlobalData Struct Reference

Data shared amoungst all instances of ZobristHash. More...

List of all members.

Public Member Functions

 GlobalData ()
void SetPointers ()
void GetHashes ()

Public Attributes

hash_t m_hashes [NUM_HASHES]
hash_tm_black_hashes
hash_tm_white_hashes
hash_tm_color_hashes [BLACK_AND_WHITE]
hash_tm_toPlay_hashes [BLACK_WHITE_EMPTY]

Static Public Attributes

static const int NUM_HASHES = 4096

Detailed Description

Data shared amoungst all instances of ZobristHash.

Definition at line 55 of file ZobristHash.hpp.


Constructor & Destructor Documentation

ZobristHash::GlobalData::GlobalData (  ) 

Definition at line 22 of file ZobristHash.cpp.

References GetHashes(), and SetPointers().


Member Function Documentation

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().


Member Data Documentation

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().


The documentation for this struct was generated from the following files:


6 Jan 2011 Doxygen 1.6.3