Index   Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  

SgHashUtil Namespace Reference


Functions

template<int N>
SgHash< N > GetZobrist (int index)
 Xor hash code with code from the global Zobrist table.
template<int N>
void XorZobrist (SgHash< N > &hash, int index)
 Xor hash code with code from the global Zobrist table.
template<int N>
void XorInteger (SgHash< N > &hash, int index)
 Xor hash code with integer index (no max value).


Function Documentation

template<int N>
SgHash<N> SgHashUtil::GetZobrist ( int  index  ) 

Xor hash code with code from the global Zobrist table.

Deprecated:
Use your own zobrist table to avoid bugs due to overlapping usage of indices

Definition at line 344 of file SgHash.h.

References SgHashZobrist< N >::Get(), and SgHashZobrist< N >::GetTable().

template<int N>
void SgHashUtil::XorZobrist ( SgHash< N > &  hash,
int  index 
)

Xor hash code with code from the global Zobrist table.

Deprecated:
Use your own zobrist table to avoid bugs due to overlapping usage of indices

Definition at line 354 of file SgHash.h.

References SgHash< N >::Xor().

template<int N>
void SgHashUtil::XorInteger ( SgHash< N > &  hash,
int  index 
)

Xor hash code with integer index (no max value).

Definition at line 361 of file SgHash.h.

References SgHash< N >::Xor().


17 Jun 2010 Doxygen 1.4.7