Go to the documentation of this file.
12 #ifndef SEARCHALGORITHM_H
13 #define SEARCHALGORITHM_H
29 virtual const char *
GetName() = 0;
A generic class for basic operations on Graph abstractions.
virtual void LogFinalStats(StatCollection *)
uint64_t GetNodesTouched()
uint64_t GetNodesExpanded()
virtual const char * GetName()=0
virtual path * GetPath(GraphAbstraction *aMap, node *from, node *to, reservationProvider *rp=0)=0
The StatCollection class is for collecting stats across different parts of the simulation.
void DoRandomPath(GraphAbstraction *aMap, SearchAlgorithm *sa, bool repeat=false)
A generic algorithm which can be used for pathfinding.
virtual ~SearchAlgorithm()
A linked list of nodes which form a continuous path.
Nodes to be stored within a Graph.