HOG2
|
#include <GraphEnvironment.h>
Public Member Functions | |
GraphMapHeuristic (Map *map, Graph *graph) | |
Graph * | GetGraph () |
double | HCost (const graphState &state1, const graphState &state2) const |
Public Member Functions inherited from GraphHeuristic | |
virtual | ~GraphHeuristic () |
virtual void | ChooseStartGoal (graphState &, graphState &) |
virtual void | OpenGLDraw () const |
Private Attributes | |
Map * | m |
Graph * | g |
Definition at line 124 of file GraphEnvironment.h.
Definition at line 126 of file GraphEnvironment.h.
|
inlinevirtual |
|
inlinevirtual |
Implements GraphHeuristic.
Definition at line 129 of file GraphEnvironment.h.
References g, node::GetLabelL(), Graph::GetNode(), GraphSearchConstants::kMapX, GraphSearchConstants::kMapY, and ROOT_TWO.
|
private |
Definition at line 142 of file GraphEnvironment.h.
Referenced by GetGraph(), and HCost().
|
private |
Definition at line 141 of file GraphEnvironment.h.