Go to the documentation of this file.
10 #ifndef STEERINGENVIRONMENT_H
11 #define STEERINGENVIRONMENT_H
virtual void OpenGLDraw() const
virtual double GCost(const steeringState &node1, const steeringState &node2) const
virtual steeringAction GetAction(const steeringState &s1, const steeringState &s2) const
virtual void GetActions(const steeringState &nodeID, std::vector< steeringAction > &actions) const
virtual void GetNextState(const steeringState &, steeringAction, steeringState &) const
virtual bool GoalTest(const steeringState &node) const
Goal Test if the goal is stored.
virtual bool InvertAction(steeringAction &a) const
virtual double HCost(const steeringState &node) const
Heuristic value between node and the stored goal.
virtual void GetSuccessors(const steeringState &nodeID, std::vector< steeringState > &neighbors) const
virtual uint64_t GetActionHash(steeringAction act) const
steeringAction(float d_v=0.0f, float d_h=0.0f)
UnitSimulation< steeringState, steeringAction, SteeringEnvironment > UnitSteeringSimulation
virtual bool GoalTest(const steeringState &node, const steeringState &goal) const
virtual double HCost(const steeringState &node1, const steeringState &node2) const
Heuristic value between two arbitrary nodes.
The basic simulation class for the world.
virtual void ApplyAction(steeringState &s, steeringAction a) const
bool fequal(double a, double b, double tolerance=TOLERANCE)
virtual uint64_t GetStateHash(const steeringState &node) const
Nodes to be stored within a Graph.
static bool operator==(const steeringState &l1, const steeringState &l2)