Go to the documentation of this file.
15 :
SearchUnit(_x, _y, _target, _alg), algorithm(_alg)
28 if (
moves.size() != 0)
virtual MapAbstraction * GetMapAbstraction()=0
tDirection makeMove(MapProvider *, reservationProvider *, SimulationInfo *simInfo)
std::vector< tDirection > moves
A general unit which collects path information from a SearchAlgorithm and incrementally executes that...
virtual bool makeMove(MapProvider *, reservationProvider *, AbsMapSimulationInfo *simInfo, tDirection &dir)
The pra* search algorithm which does partial pathfinding using abstraction.
praStarUnit(int _x, int _y, unit *_target, praStar *_alg)
long GetLabelL(unsigned int index) const
A linked list of nodes which form a continuous path.
Nodes to be stored within a Graph.
void setExpandSearchRadius(bool _expandSearchRadius)