HOG2
|
Go to the source code of this file.
Functions | |
void | GetMirror (const FlingBoard &in, FlingBoard &out, bool h, bool v) |
void | ShiftToCorner (FlingBoard &in) |
uint64_t | GetCanonicalHash (uint64_t which) |
Variables | |
const int | maxPieces = 14 |
uint64_t GetCanonicalHash | ( | uint64_t | which | ) |
Definition at line 337 of file Fling.cpp.
References GetMirror(), Fling::GetStateFromHash(), Fling::GetStateHash(), and ShiftToCorner().
void GetMirror | ( | const FlingBoard & | in, |
FlingBoard & | out, | ||
bool | h, | ||
bool | v | ||
) |
Definition at line 261 of file Fling.cpp.
References FlingBoard::AddFling(), FlingBoard::HasPiece(), FlingBoard::height, FlingBoard::Reset(), and FlingBoard::width.
Referenced by GetCanonicalHash().
void ShiftToCorner | ( | FlingBoard & | in | ) |
Definition at line 283 of file Fling.cpp.
References FlingBoard::AddFling(), FlingBoard::HasPiece(), FlingBoard::height, FlingBoard::RemoveFling(), and FlingBoard::width.
Referenced by GetCanonicalHash().
const int maxPieces = 14 |
Definition at line 1058 of file Fling.cpp.
Referenced by Fling::binomial(), and Fling::initBinomial().