HOG2
|
#include <MNPuzzle.h>
Public Member Functions | |
MNPuzzleState () | |
void | Reset () |
size_t | size () const |
void | FinishUnranking () |
bool | operator< (const MNPuzzleState &b) |
Public Attributes | |
unsigned int | blank |
std::array< int, width *height > | puzzle |
Definition at line 25 of file MNPuzzle.h.
|
inline |
Definition at line 27 of file MNPuzzle.h.
References MNPuzzleState< width, height >::Reset().
|
inline |
Definition at line 38 of file MNPuzzle.h.
References MNPuzzleState< width, height >::blank, MNPuzzleState< width, height >::puzzle, and MNPuzzleState< width, height >::size().
|
inline |
Definition at line 49 of file MNPuzzle.h.
References MNPuzzleState< width, height >::puzzle, and MNPuzzleState< width, height >::size().
|
inline |
Definition at line 31 of file MNPuzzle.h.
References MNPuzzleState< width, height >::blank, MNPuzzleState< width, height >::puzzle, and MNPuzzleState< width, height >::size().
Referenced by MNPuzzleState< width, height >::MNPuzzleState().
|
inline |
Definition at line 37 of file MNPuzzle.h.
Referenced by MNPuzzle< width, height >::ApplyAction(), MNPuzzleState< width, height >::FinishUnranking(), MNPuzzleState< width, height >::operator<(), operator==(), and MNPuzzleState< width, height >::Reset().
unsigned int MNPuzzleState< width, height >::blank |
Definition at line 57 of file MNPuzzle.h.
Referenced by MNPuzzle< width, height >::AdditiveGCost(), MNPuzzle< width, height >::ApplyAction(), MNPuzzleState< width, height >::FinishUnranking(), MNPuzzle< width, height >::GCost(), MNPuzzle< width, height >::Generate_Random_Puzzle(), MNPuzzle< width, height >::GetAction(), MNPuzzle< width, height >::GetActions(), STP::GetKorfInstance(), MNPuzzle< width, height >::GetParity(), MNPuzzle< width, height >::GetStateFromHash(), MNPuzzle< width, height >::GetStateFromPDBHash(), MNPuzzle< width, height >::GetSuccessors(), MNPuzzle< width, height >::read_in_mn_puzzles(), MNPuzzleState< width, height >::Reset(), and MNPuzzle< width, height >::State_Check().
std::array<int, width*height> MNPuzzleState< width, height >::puzzle |
Definition at line 58 of file MNPuzzle.h.
Referenced by MNPuzzle< width, height >::AdditiveGCost(), MNPuzzle< width, height >::ApplyAction(), MNPuzzle< width, height >::DefaultH(), MNPuzzle< width, height >::Draw(), MNPuzzleState< width, height >::FinishUnranking(), MNPuzzle< width, height >::GCost(), MNPuzzle< width, height >::Generate_Random_Puzzle(), MNPuzzle< width, height >::GetAction(), STP::GetKorfInstance(), MNPuzzle< width, height >::GetParity(), MNPuzzle< width, height >::GetStateFromHash(), MNPuzzle< width, height >::GetStateFromPDBHash(), MNPuzzle< width, height >::GetStateHash(), MNPuzzle< width, height >::HCost(), MNPuzzle< width, height >::OpenGLDraw(), std::hash< MNPuzzleState< w, h > >::operator()(), MNPuzzleState< width, height >::operator<(), operator==(), MNPuzzle< width, height >::read_in_mn_puzzles(), MNPuzzleState< width, height >::Reset(), MNPuzzle< width, height >::State_Check(), and MNPuzzle< width, height >::StoreGoal().