HOG2
|
#include <GraphEnvironment.h>
Public Member Functions | |
GraphMapPerfectHeuristic (Map *map, Graph *graph) | |
Graph * | GetGraph () |
void | SetProbability (double p) |
double | HCost (const graphState &state1, const graphState &state2) const |
~GraphMapPerfectHeuristic () | |
Public Member Functions inherited from GraphHeuristic | |
virtual | ~GraphHeuristic () |
virtual void | ChooseStartGoal (graphState &, graphState &) |
virtual void | OpenGLDraw () const |
Public Attributes | |
double | prob |
Private Member Functions | |
double | GetOctileDistance (double dx, double dy) const |
void | fillProbTable () |
Private Attributes | |
Map * | m |
Graph * | g |
bool * | probTable |
Definition at line 161 of file GraphEnvironment.h.
Definition at line 163 of file GraphEnvironment.h.
References fillProbTable(), and prob.
|
inline |
Definition at line 183 of file GraphEnvironment.h.
References probTable.
|
inlineprivate |
Definition at line 199 of file GraphEnvironment.h.
References Map::GetMapHeight(), Map::GetMapWidth(), m, prob, and probTable.
Referenced by GraphMapPerfectHeuristic().
|
inlinevirtual |
|
inlineprivate |
Definition at line 189 of file GraphEnvironment.h.
Referenced by HCost().
|
inlinevirtual |
Implements GraphHeuristic.
Definition at line 170 of file GraphEnvironment.h.
References g, node::GetLabelL(), Graph::GetNode(), GetOctileDistance(), GraphSearchConstants::kMapX, GraphSearchConstants::kMapY, and probTable.
|
inline |
Definition at line 169 of file GraphEnvironment.h.
References prob.
|
private |
Definition at line 212 of file GraphEnvironment.h.
Referenced by GetGraph(), and HCost().
|
private |
Definition at line 211 of file GraphEnvironment.h.
Referenced by fillProbTable().
double GraphMapPerfectHeuristic::prob |
Definition at line 187 of file GraphEnvironment.h.
Referenced by fillProbTable(), GraphMapPerfectHeuristic(), and SetProbability().
|
private |
Definition at line 213 of file GraphEnvironment.h.
Referenced by fillProbTable(), HCost(), and ~GraphMapPerfectHeuristic().