Go to the documentation of this file.
9 #ifndef Map2DSectorAbstractionEnvironment_h
10 #define Map2DSectorAbstractionEnvironment_h
71 mutable std::vector<tempEdgeData>
actions;
72 mutable std::vector<abstractGridState>
nbr;
std::vector< tempEdgeData > actions
virtual double GCost(const abstractGridState &node1, const abstractGridState &node2) const
abstractGridState GetAbstractState(const xyLoc &loc) const
virtual void DrawLine(Graphics::Display &display, const abstractGridState &x, const abstractGridState &y, float width=1.0) const
MinimalSectorAbstraction * msa
virtual uint64_t GetActionHash(abstractMove act) const
virtual bool GoalTest(const abstractGridState &node, const abstractGridState &goal) const
MinimalSectorAbstraction.
virtual void Draw(Graphics::Display &display) const
virtual void OpenGLDraw(const abstractGridState &) const
virtual void GLLabelabstractGridState(const abstractGridState &, const char *) const
Map2DSectorAbstraction(Map *m, int sectorSize)
~Map2DSectorAbstraction()
virtual uint64_t GetStateHash(const abstractGridState &node) const
virtual void ApplyAction(abstractGridState &s, abstractMove a) const
virtual void OpenGLDraw(const abstractGridState &, const abstractGridState &, float) const
Draw the transition at some percentage 0...1 between two abstractGridStates.
xyLoc GetState(const abstractGridState &loc) const
bool operator==(const abstractGridState &, const abstractGridState &)
bool InvertAction(abstractMove &a) const
virtual void OpenGLDraw() const
virtual void OpenGLDraw(const abstractGridState &, const abstractMove &) const
std::vector< abstractGridState > nbr
void GetActions(const abstractGridState &nodeID, std::vector< abstractMove > &actions) const
virtual void GLDrawLine(const abstractGridState &x, const abstractGridState &y) const
virtual double HCost(const abstractGridState &node1, const abstractGridState &node2) const
Heuristic value between two arbitrary nodes.
void GetSuccessors(const abstractGridState &nodeID, std::vector< abstractGridState > &neighbors) const
Nodes to be stored within a Graph.
A tile-based representation of the world.