|
Public Member Functions |
| corridorAStar () |
virtual | ~corridorAStar () |
path * | getPath (graphAbstraction *aMap, node *from, node *to, reservationProvider *rp=0) |
path * | getBestPath (graphAbstraction *aMap, node *from, node *to, node *hGoal, reservationProvider *rp=0) |
| get the best path from FROM to TO.
|
path * | getBestPath (graphAbstraction *aMap, node *afrom, node *ato, node *from, node *to, reservationProvider *rp=0) |
| get the best path from aFROM to aTO.
|
void | setCorridor (const std::vector< node * > *) |
virtual const char * | getName () |
Private Member Functions |
void | relaxEdge (heap *nodeHeap, graph *g, graphAbstraction *aMap, edge *e, node *from, node *to, node *dest) |
void | relaxFirstEdge (heap *nodeHeap, graph *g, graphAbstraction *aMap, edge *e, node *from, node *afrom, node *ato, node *dest) |
void | relaxFinalEdge (heap *nodeHeap, graph *g, graphAbstraction *aMap, edge *e, node *from, node *to, node *realDest) |
path * | extractBestPath (graph *g, unsigned int current) |
Private Attributes |
const std::vector< node * > * | corridor |
std::vector< node * > | emptyCorridor |
The corridor must be set before every search if it is to be used properly. After each getPath call the corridor is reset. If no corridor is defined, it will explore all nodes.