HOG2
|
#include <TOH.h>
Public Member Functions | |
TOHState () | |
void | Reset () |
void | StandardStart () |
int | GetDiskCountOnPeg (int whichPeg) const |
int | GetDiskOnPeg (int whichPeg, int whichDisk) const |
int | GetSmallestDiskOnPeg (int whichPeg) const |
Public Attributes | |
uint8_t | disks [4][numDisks] |
uint8_t | counts [4] |
|
inline |
Definition at line 65 of file TOH.h.
Referenced by TOHPDB< patternDisks, totalDisks, offset >::GetAbstractHash(), TOH< patternDisks >::GetActions(), TOHState< disks >::GetSmallestDiskOnPeg(), TOH< patternDisks >::HCost(), TOH< patternDisks >::OpenGLDraw(), operator<<(), and operator==().
|
inline |
Definition at line 70 of file TOH.h.
Referenced by TOHPDB< patternDisks, totalDisks, offset >::GetAbstractHash(), TOH< patternDisks >::GetActions(), TOHState< disks >::GetSmallestDiskOnPeg(), TOH< patternDisks >::OpenGLDraw(), operator<<(), and operator==().
|
inline |
Definition at line 77 of file TOH.h.
Referenced by TOH< patternDisks >::GetActions(), and TOH< patternDisks >::OpenGLDraw().
|
inline |
|
inline |
uint8_t TOHState< numDisks >::counts[4] |
Definition at line 86 of file TOH.h.
Referenced by TOH< patternDisks >::ApplyAction(), TOHState< disks >::GetDiskCountOnPeg(), TOHPDB< patternDisks, totalDisks, offset >::GetStateFromAbstractState(), TOH< patternDisks >::GetStateFromHash(), TOHState< disks >::Reset(), TOHState< disks >::StandardStart(), and TOHState< disks >::TOHState().
uint8_t TOHState< numDisks >::disks[4][numDisks] |
Definition at line 85 of file TOH.h.
Referenced by TOH< patternDisks >::ApplyAction(), TOHState< disks >::GetDiskOnPeg(), TOHPDB< patternDisks, totalDisks, offset >::GetStateFromAbstractState(), TOH< patternDisks >::GetStateFromHash(), TOHState< disks >::Reset(), TOHState< disks >::StandardStart(), and TOHState< disks >::TOHState().