Index   Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  
Functions

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 337 of file SgHash.h.

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

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

Definition at line 353 of file SgHash.h.

References SgHash< N >::Xor().

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 346 of file SgHash.h.

References SgHash< N >::Xor().


Sun Mar 13 2011 Doxygen 1.7.1