Go to the documentation of this file.
12 #ifndef CORRIDORASTAR_H
13 #define CORRIDORASTAR_H
36 virtual const char *
GetName() {
return "corridorAStar"; }
A generic class for basic operations on Graph abstractions.
const std::vector< node * > * corridor
std::vector< node * > emptyCorridor
Corridor AStar builds a a* path between two nodes, restricting itself to a particular corridor,...
void relaxFirstEdge(Heap *nodeHeap, Graph *g, GraphAbstraction *aMap, edge *e, node *from, node *afrom, node *ato, node *dest)
virtual const char * GetName()
path * extractBestPath(Graph *g, unsigned int current)
path * GetPath(GraphAbstraction *aMap, node *from, node *to, reservationProvider *rp=0)
void relaxFinalEdge(Heap *nodeHeap, Graph *g, GraphAbstraction *aMap, edge *e, node *from, node *to, node *realDest)
A simple & efficient Heap class which uses Graph objects.
path * getBestPath(GraphAbstraction *aMap, node *from, node *to, node *hGoal, reservationProvider *rp=0)
get the best path from FROM to TO.
A generic algorithm which can be used for pathfinding.
void setCorridor(const std::vector< node * > *)
A linked list of nodes which form a continuous path.
void relaxEdge(Heap *nodeHeap, Graph *g, GraphAbstraction *aMap, edge *e, node *from, node *to, node *dest)
Nodes to be stored within a Graph.
Edge class for connections between node in a Graph.