HOG2
|
#include <MNPuzzle.h>
Public Member Functions | |
GraphPuzzleDistanceHeuristic (MNPuzzle< width, height > &mnp, Graph *graph, int count) | |
double | HCost (const graphState &state1, const graphState &state2) const |
Public Member Functions inherited from GraphDistanceHeuristic | |
GraphDistanceHeuristic (Graph *graph) | |
~GraphDistanceHeuristic () | |
void | AddHeuristic (node *n=0) |
int | GetNumHeuristics () |
void | SetPlacement (placementScheme s) |
Graph * | GetGraph () |
void | ChooseStartGoal (graphState &start, graphState &goal) |
virtual void | OpenGLDraw () const |
Public Member Functions inherited from GraphHeuristic | |
virtual | ~GraphHeuristic () |
Private Attributes | |
MNPuzzle< width, height > | puzzle |
Additional Inherited Members | |
Protected Member Functions inherited from GraphDistanceHeuristic | |
void | GetOptimalDistances (node *n, std::vector< double > &values) |
void | AddHeuristic (std::vector< double > &values, graphState location) |
node * | FindFarNode (node *n) |
node * | FindAvoidNode (node *n) |
node * | FindBestChild (int best, std::vector< double > &dist, std::vector< double > &weight) |
void | ComputeSizes (node *n, std::vector< double > &dist, std::vector< double > &weight, std::vector< double > &sizes) |
Protected Attributes inherited from GraphDistanceHeuristic | |
placementScheme | placement |
Graph * | g |
std::vector< std::vector< double > > | heuristics |
std::vector< graphState > | locations |
std::vector< double > | dist |
std::vector< double > | weight |
std::vector< double > | sizes |
Definition at line 261 of file MNPuzzle.h.
GraphPuzzleDistanceHeuristic< width, height >::GraphPuzzleDistanceHeuristic | ( | MNPuzzle< width, height > & | mnp, |
Graph * | graph, | ||
int | count | ||
) |
Definition at line 1194 of file MNPuzzle.h.
References GraphDistanceHeuristic::AddHeuristic().
|
virtual |
Reimplemented from GraphDistanceHeuristic.
Definition at line 1204 of file MNPuzzle.h.
References fgreater().
|
private |
Definition at line 266 of file MNPuzzle.h.