#include <graph.h>
Public Types | |
| typedef boost::shared_ptr< Graph > | Ptr |
| typedef boost::shared_ptr< StateT > | StatePtr |
| typedef StateT_ | StateT |
Public Member Functions | |
| virtual void | addNode (StatePtr state) |
| virtual StatePtr | getGoalState () |
| virtual StatePtr | getStartState () |
| Graph () | |
| virtual bool | isGoal (StatePtr state)=0 |
| virtual size_t | numNodes () |
| virtual double | pathCost (StatePtr from, StatePtr to, double prev_cost) |
| virtual void | setGoalState (StatePtr goal) |
| virtual void | setStartState (StatePtr start) |
| virtual std::vector< StatePtr > | successors (StatePtr target_state)=0 |
Protected Attributes | |
| StatePtr | goal_state_ |
| std::vector< StatePtr > | nodes_ |
| double | pos_goal_thr_ |
| double | rot_goal_thr_ |
| StatePtr | start_state_ |
| typedef boost::shared_ptr<Graph> jsk_footstep_planner::Graph< StateT_ >::Ptr |
Reimplemented in jsk_footstep_planner::SimpleNeighboredGraph, Grid2DGraph, and jsk_footstep_planner::FootstepGraph.
| typedef boost::shared_ptr<StateT> jsk_footstep_planner::Graph< StateT_ >::StatePtr |
| typedef StateT_ jsk_footstep_planner::Graph< StateT_ >::StateT |
| jsk_footstep_planner::Graph< StateT_ >::Graph | ( | ) | [inline] |
| virtual void jsk_footstep_planner::Graph< StateT_ >::addNode | ( | StatePtr | state | ) | [inline, virtual] |
Reimplemented in Grid2DGraph.
| virtual StatePtr jsk_footstep_planner::Graph< StateT_ >::getGoalState | ( | ) | [inline, virtual] |
| virtual StatePtr jsk_footstep_planner::Graph< StateT_ >::getStartState | ( | ) | [inline, virtual] |
| virtual bool jsk_footstep_planner::Graph< StateT_ >::isGoal | ( | StatePtr | state | ) | [pure virtual] |
Implemented in Grid2DGraph, jsk_footstep_planner::SimpleNeighboredGraph, and jsk_footstep_planner::FootstepGraph.
| virtual size_t jsk_footstep_planner::Graph< StateT_ >::numNodes | ( | ) | [inline, virtual] |
| virtual double jsk_footstep_planner::Graph< StateT_ >::pathCost | ( | StatePtr | from, |
| StatePtr | to, | ||
| double | prev_cost | ||
| ) | [inline, virtual] |
Reimplemented in Grid2DGraph, and jsk_footstep_planner::SimpleNeighboredGraph.
| virtual void jsk_footstep_planner::Graph< StateT_ >::setGoalState | ( | StatePtr | goal | ) | [inline, virtual] |
| virtual void jsk_footstep_planner::Graph< StateT_ >::setStartState | ( | StatePtr | start | ) | [inline, virtual] |
| virtual std::vector<StatePtr> jsk_footstep_planner::Graph< StateT_ >::successors | ( | StatePtr | target_state | ) | [pure virtual] |
Implemented in jsk_footstep_planner::SimpleNeighboredGraph, jsk_footstep_planner::FootstepGraph, and Grid2DGraph.
StatePtr jsk_footstep_planner::Graph< StateT_ >::goal_state_ [protected] |
std::vector<StatePtr> jsk_footstep_planner::Graph< StateT_ >::nodes_ [protected] |
double jsk_footstep_planner::Graph< StateT_ >::pos_goal_thr_ [protected] |
Reimplemented in jsk_footstep_planner::FootstepGraph.
double jsk_footstep_planner::Graph< StateT_ >::rot_goal_thr_ [protected] |
Reimplemented in jsk_footstep_planner::FootstepGraph.
StatePtr jsk_footstep_planner::Graph< StateT_ >::start_state_ [protected] |