24 #ifndef _ASTAR_ABSTRACT_STATE_H_
25 #define _ASTAR_ABSTRACT_STATE_H_
This is the abstract(!) class for an A* State.
virtual std::vector< AStarState * > generateChildren()=0
Generate all successors and put them to this vector.
virtual double estimate()=0
Estimate the heuristic cost to the goal.
double pastCost
Past cost.
Fawkes library namespace.
long key
The unique key of this state.
double totalEstimatedCost
Total estimated cost.
virtual bool isGoal()=0
Check, wether we reached a goal or not.
AStarState * father
Predecessor.
virtual long calculateKey()=0
Generates a unique key for this state.
virtual ~AStarState()
Destructor.