edge * FindEdge(unsigned int from, unsigned int to)
Finds an edge between nodes with ids from and to, no matter which direction.
unsigned int neighbor_iterator
Graph * GetAbstractGraph(int level)
return the abstract Graph at the given level
node * GetNode(unsigned long num)
virtual double h(node *a, node *b)=0
heuristic cost between any two nodes
double heuristic(uint32_t node1, uint32_t node2)
int nodeNeighborNext(neighbor_iterator &) const
double gcost(uint32_t node1, uint32_t node2)
void getNeighbors(uint32_t nodeID, std::vector< uint32_t > &neighbors)
neighbor_iterator getNeighborIter() const
Nodes to be stored within a Graph.
Edge class for connections between node in a Graph.