Public Types | |
typedef boost::shared_ptr < Grid2DGraph > | Ptr |
Public Member Functions | |
virtual void | addNode (StatePtr state) |
virtual StatePtr | findNode (int x, int y) |
virtual bool | isGoal (StatePtr state) |
virtual double | pathCost (StatePtr from, StatePtr to, double prev_cost) |
virtual std::vector < Grid2DGraph::StatePtr > | successors (StatePtr target_state) |
Protected Attributes | |
StatePtr | state_map_ [1024][1024] |
Definition at line 65 of file sample_astar.cpp.
typedef boost::shared_ptr<Grid2DGraph> Grid2DGraph::Ptr |
Reimplemented from jsk_footstep_planner::Graph< Grid2DNode >.
Definition at line 68 of file sample_astar.cpp.
virtual void Grid2DGraph::addNode | ( | StatePtr | state | ) | [inline, virtual] |
Reimplemented from jsk_footstep_planner::Graph< Grid2DNode >.
Definition at line 110 of file sample_astar.cpp.
virtual StatePtr Grid2DGraph::findNode | ( | int | x, |
int | y | ||
) | [inline, virtual] |
Definition at line 116 of file sample_astar.cpp.
virtual bool Grid2DGraph::isGoal | ( | StatePtr | state | ) | [inline, virtual] |
Implements jsk_footstep_planner::Graph< Grid2DNode >.
Definition at line 105 of file sample_astar.cpp.
virtual double Grid2DGraph::pathCost | ( | StatePtr | from, |
StatePtr | to, | ||
double | prev_cost | ||
) | [inline, virtual] |
Reimplemented from jsk_footstep_planner::Graph< Grid2DNode >.
Definition at line 100 of file sample_astar.cpp.
virtual std::vector<Grid2DGraph::StatePtr> Grid2DGraph::successors | ( | StatePtr | target_state | ) | [inline, virtual] |
Implements jsk_footstep_planner::Graph< Grid2DNode >.
Definition at line 69 of file sample_astar.cpp.
StatePtr Grid2DGraph::state_map_[1024][1024] [protected] |
Definition at line 121 of file sample_astar.cpp.