Public Types | Public Member Functions | Protected Attributes | List of all members
jsk_footstep_planner::Graph< StateT_ > Class Template Referenceabstract

#include <graph.h>

Public Types

typedef boost::shared_ptr< GraphPtr
 
typedef boost::shared_ptr< StateTStatePtr
 
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< StatePtrsuccessors (StatePtr target_state)=0
 

Protected Attributes

StatePtr goal_state_
 
std::vector< StatePtrnodes_
 
StatePtr start_state_
 

Detailed Description

template<class StateT_>
class jsk_footstep_planner::Graph< StateT_ >

Definition at line 78 of file graph.h.

Member Typedef Documentation

◆ Ptr

template<class StateT_ >
typedef boost::shared_ptr<Graph> jsk_footstep_planner::Graph< StateT_ >::Ptr

Definition at line 113 of file graph.h.

◆ StatePtr

template<class StateT_ >
typedef boost::shared_ptr<StateT> jsk_footstep_planner::Graph< StateT_ >::StatePtr

Definition at line 115 of file graph.h.

◆ StateT

template<class StateT_ >
typedef StateT_ jsk_footstep_planner::Graph< StateT_ >::StateT

Definition at line 114 of file graph.h.

Constructor & Destructor Documentation

◆ Graph()

template<class StateT_ >
jsk_footstep_planner::Graph< StateT_ >::Graph ( )
inline

Definition at line 116 of file graph.h.

Member Function Documentation

◆ addNode()

template<class StateT_ >
virtual void jsk_footstep_planner::Graph< StateT_ >::addNode ( StatePtr  state)
inlinevirtual

Reimplemented in Grid2DGraph.

Definition at line 123 of file graph.h.

◆ getGoalState()

template<class StateT_ >
virtual StatePtr jsk_footstep_planner::Graph< StateT_ >::getGoalState ( )
inlinevirtual

Definition at line 121 of file graph.h.

◆ getStartState()

template<class StateT_ >
virtual StatePtr jsk_footstep_planner::Graph< StateT_ >::getStartState ( )
inlinevirtual

Definition at line 120 of file graph.h.

◆ isGoal()

template<class StateT_ >
virtual bool jsk_footstep_planner::Graph< StateT_ >::isGoal ( StatePtr  state)
pure virtual

◆ numNodes()

template<class StateT_ >
virtual size_t jsk_footstep_planner::Graph< StateT_ >::numNodes ( )
inlinevirtual

Definition at line 124 of file graph.h.

◆ pathCost()

template<class StateT_ >
virtual double jsk_footstep_planner::Graph< StateT_ >::pathCost ( StatePtr  from,
StatePtr  to,
double  prev_cost 
)
inlinevirtual

◆ setGoalState()

template<class StateT_ >
virtual void jsk_footstep_planner::Graph< StateT_ >::setGoalState ( StatePtr  goal)
inlinevirtual

Definition at line 118 of file graph.h.

◆ setStartState()

template<class StateT_ >
virtual void jsk_footstep_planner::Graph< StateT_ >::setStartState ( StatePtr  start)
inlinevirtual

Definition at line 117 of file graph.h.

◆ successors()

template<class StateT_ >
virtual std::vector<StatePtr> jsk_footstep_planner::Graph< StateT_ >::successors ( StatePtr  target_state)
pure virtual

Member Data Documentation

◆ goal_state_

template<class StateT_ >
StatePtr jsk_footstep_planner::Graph< StateT_ >::goal_state_
protected

Definition at line 135 of file graph.h.

◆ nodes_

template<class StateT_ >
std::vector<StatePtr> jsk_footstep_planner::Graph< StateT_ >::nodes_
protected

Definition at line 136 of file graph.h.

◆ start_state_

template<class StateT_ >
StatePtr jsk_footstep_planner::Graph< StateT_ >::start_state_
protected

Definition at line 134 of file graph.h.


The documentation for this class was generated from the following file:


jsk_footstep_planner
Author(s): Ryohei Ueda
autogenerated on Wed Jan 24 2024 04:05:30