Go to the documentation of this file.
12 #ifndef FRINGESEARCH_H
13 #define FRINGESEARCH_H
27 virtual double h(uint32_t node1, uint32_t node2) = 0;
33 const char *
GetName() {
return bpmx?
"BPMXFringeSearch":
"FringeSearch"; }
virtual double h(uint32_t node1, uint32_t node2)=0
void addToOpenList(node *n)
A generic class for basic operations on Graph abstractions.
void setHeuristicProvider(heuristicProvider *hh)
void propagateGValues(node *n)
void initializeSearch(GraphAbstraction *aGraph, node *from, node *to)
unsigned int nodesReopened
virtual ~heuristicProvider()
void addToOpenList2(node *n)
void addToClosedList(node *n)
std::vector< costs > costList
double h(node *n1, node *n2)
virtual path * GetPath(GraphAbstraction *aMap, node *from, node *to, reservationProvider *rp=0)
void updateCosts(node *n, node *parent, edge *e)
void moveToOpenList1(node *n)
void propagateHValues(node *n, int dist=10000)
void addCosts(node *n, node *parent, edge *e)
bool onClosedList(node *n)
unsigned int getHValuesPropagated()
path * extractBestPath(node *n)
void setUseBPMX(bool use)
unsigned int getNodesReopened()
unsigned int nodesHPropagated
void setHCost(node *n, double val)
void getCosts(node *n, costs &val)
A generic algorithm which can be used for pathfinding.
A linked list of nodes which form a continuous path.
std::vector< node * > nodeList
Nodes to be stored within a Graph.
Edge class for connections between node in a Graph.