|
| TOH () |
|
| ~TOH () |
|
void | GetSuccessors (const TOHState< disks > &nodeID, std::vector< TOHState< disks >> &neighbors) const |
|
void | GetActions (const TOHState< disks > &nodeID, std::vector< TOHMove > &actions) const |
|
void | ApplyAction (TOHState< disks > &s, TOHMove a) const |
|
bool | InvertAction (TOHMove &a) const |
|
double | HCost (const TOHState< disks > &node1, const TOHState< disks > &node2) const |
| Heuristic value between two arbitrary nodes. More...
|
|
double | GCost (const TOHState< disks > &node1, const TOHState< disks > &node2) const |
|
double | GCost (const TOHState< disks > &node, const TOHMove &act) const |
|
bool | GoalTest (const TOHState< disks > &node, const TOHState< disks > &goal) const |
|
uint64_t | GetStateHash (const TOHState< disks > &node) const |
|
void | GetStateFromHash (uint64_t parent, TOHState< disks > &s) const |
|
uint64_t | GetMaxHash () const |
|
uint64_t | GetNumStates (TOHState< disks > &s) const |
|
uint64_t | GetActionHash (TOHMove act) const |
|
std::string | GetName () |
|
void | OpenGLDraw () const |
|
void | OpenGLDraw (const TOHState< disks > &) const |
|
void | OpenGLDraw (const TOHState< disks > &, const TOHState< disks > &, float) const |
| Draw the transition at some percentage 0...1 between two TOHState<disks>s. More...
|
|
void | OpenGLDraw (const TOHState< disks > &, const TOHMove &) const |
|
virtual | ~SearchEnvironment () |
|
virtual void | GetSuccessors (const TOHState< disks > &nodeID, std::vector< TOHState< disks > > &neighbors) const=0 |
|
virtual int | GetNumSuccessors (const TOHState< disks > &stateID) const |
|
virtual TOHMove | GetAction (const TOHState< disks > &s1, const TOHState< disks > &s2) const |
|
virtual void | UndoAction (TOHState< disks > &s, TOHMove a) const |
|
virtual void | GetNextState (const TOHState< disks > &s1, TOHMove a, TOHState< disks > &s2) const |
|
virtual void | StoreGoal (TOHState< disks > &s) |
| Stores the goal for use by single-state HCost. More...
|
|
virtual void | ClearGoal () |
| Clears the goal from memory. More...
|
|
virtual bool | IsGoalStored () const |
| Returns true if the goal is stored and false otherwise. More...
|
|
virtual double | HCost (const TOHState< disks > &node1, const TOHState< disks > &node2, double parentHCost) const |
|
virtual double | HCost (const TOHState< disks > &node) const |
| Heuristic value between node and the stored goal. More...
|
|
virtual bool | GoalTest (const TOHState< disks > &node) const |
| Goal Test if the goal is stored. More...
|
|
virtual uint64_t | GetMaxHash () const |
|
virtual double | GetPathLength (std::vector< TOHState< disks > > &neighbors) |
|
virtual double | GetPathLength (const TOHState< disks > &start, std::vector< TOHMove > &neighbors) |
|
virtual OccupancyInterface< TOHState< disks >, TOHMove > * | GetOccupancyInfo () |
|
virtual void | SetOccupancyInfo (OccupancyInterface< TOHState< disks >, TOHMove > *) |
|
virtual void | OpenGLDraw () const |
|
virtual void | GLLabelState (const TOHState< disks > &, const char *) const |
|
virtual void | GLDrawLine (const TOHState< disks > &x, const TOHState< disks > &y) const |
|
virtual void | GLDrawPath (const std::vector< TOHState< disks > > &x) const |
|
virtual void | SetColor (const rgbColor &r) const |
|
virtual void | SetColor (GLfloat rr, GLfloat g, GLfloat b, GLfloat t=1.0) const |
|
virtual void | GetColor (GLfloat &rr, GLfloat &g, GLfloat &b, GLfloat &t) const |
|
virtual rgbColor | GetColor () const |
|
virtual void | Draw (Graphics::Display &display) const |
|
virtual void | Draw (Graphics::Display &display, const TOHState< disks > &) const |
|
virtual void | DrawLine (Graphics::Display &display, const TOHState< disks > &x, const TOHState< disks > &y, float width=1.0) const |
|
| Heuristic () |
|
virtual | ~Heuristic () |
|
template<int disks>
class TOH< disks >
Definition at line 133 of file TOH.h.