Public Types | Public Member Functions | Protected Attributes | List of all members
jsk_footstep_planner::GridGraph< GStateT > Class Template Reference

#include <grid_graph.h>

Inheritance diagram for jsk_footstep_planner::GridGraph< GStateT >:
Inheritance graph
[legend]

Public Types

typedef GridMap< GStateT > GridType
 
typedef GStateT MapState
 
typedef GStateT::Ptr MapStatePtr
 
typedef boost::shared_ptr< GridGraphPtr
 
typedef Graph< GridState >::StateT State
 
- Public Types inherited from jsk_footstep_planner::Graph< GridState >
typedef boost::shared_ptr< GraphPtr
 
typedef boost::shared_ptr< StateTStatePtr
 
typedef GridState StateT
 

Public Member Functions

StatePtr getState (int ix, int iy)
 
 GridGraph (typename GridType::Ptr gr)
 
virtual bool isGoal (StatePtr state)
 
virtual double pathCost (StatePtr from, StatePtr to, double prev_cost)
 
virtual std::vector< StatePtrsuccessors (StatePtr target_state)
 
- Public Member Functions inherited from jsk_footstep_planner::Graph< GridState >
virtual void addNode (StatePtr state)
 
virtual StatePtr getGoalState ()
 
virtual StatePtr getStartState ()
 
 Graph ()
 
virtual size_t numNodes ()
 
virtual void setGoalState (StatePtr goal)
 
virtual void setStartState (StatePtr start)
 

Protected Attributes

GridType::Ptr gridmap_
 
- Protected Attributes inherited from jsk_footstep_planner::Graph< GridState >
StatePtr goal_state_
 
std::vector< StatePtrnodes_
 
StatePtr start_state_
 

Detailed Description

template<class GStateT>
class jsk_footstep_planner::GridGraph< GStateT >

Definition at line 84 of file grid_graph.h.

Member Typedef Documentation

◆ GridType

template<class GStateT >
typedef GridMap<GStateT> jsk_footstep_planner::GridGraph< GStateT >::GridType

Definition at line 88 of file grid_graph.h.

◆ MapState

template<class GStateT >
typedef GStateT jsk_footstep_planner::GridGraph< GStateT >::MapState

Definition at line 89 of file grid_graph.h.

◆ MapStatePtr

template<class GStateT >
typedef GStateT::Ptr jsk_footstep_planner::GridGraph< GStateT >::MapStatePtr

Definition at line 90 of file grid_graph.h.

◆ Ptr

template<class GStateT >
typedef boost::shared_ptr<GridGraph> jsk_footstep_planner::GridGraph< GStateT >::Ptr

Definition at line 87 of file grid_graph.h.

◆ State

template<class GStateT >
typedef Graph<GridState>::StateT jsk_footstep_planner::GridGraph< GStateT >::State

Definition at line 91 of file grid_graph.h.

Constructor & Destructor Documentation

◆ GridGraph()

template<class GStateT >
jsk_footstep_planner::GridGraph< GStateT >::GridGraph ( typename GridType::Ptr  gr)
inline

Definition at line 93 of file grid_graph.h.

Member Function Documentation

◆ getState()

template<class GStateT >
StatePtr jsk_footstep_planner::GridGraph< GStateT >::getState ( int  ix,
int  iy 
)
inline

Definition at line 98 of file grid_graph.h.

◆ isGoal()

template<class GStateT >
virtual bool jsk_footstep_planner::GridGraph< GStateT >::isGoal ( StatePtr  state)
inlinevirtual

Implements jsk_footstep_planner::Graph< GridState >.

Definition at line 127 of file grid_graph.h.

◆ pathCost()

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

Reimplemented from jsk_footstep_planner::Graph< GridState >.

Definition at line 132 of file grid_graph.h.

◆ successors()

template<class GStateT >
virtual std::vector<StatePtr> jsk_footstep_planner::GridGraph< GStateT >::successors ( StatePtr  target_state)
inlinevirtual

Implements jsk_footstep_planner::Graph< GridState >.

Definition at line 107 of file grid_graph.h.

Member Data Documentation

◆ gridmap_

template<class GStateT >
GridType::Ptr jsk_footstep_planner::GridGraph< GStateT >::gridmap_
protected

Definition at line 141 of file grid_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