Public Types | Public Member Functions | Protected Attributes | List of all members
Grid2DGraph Class Reference
Inheritance diagram for Grid2DGraph:
Inheritance graph
[legend]

Public Types

typedef boost::shared_ptr< Grid2DGraphPtr
 
- Public Types inherited from jsk_footstep_planner::Graph< Grid2DNode >
typedef boost::shared_ptr< GraphPtr
 
typedef boost::shared_ptr< StateTStatePtr
 
typedef Grid2DNode StateT
 

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::StatePtrsuccessors (StatePtr target_state)
 
- Public Member Functions inherited from jsk_footstep_planner::Graph< Grid2DNode >
virtual StatePtr getGoalState ()
 
virtual StatePtr getStartState ()
 
 Graph ()
 
virtual size_t numNodes ()
 
virtual void setGoalState (StatePtr goal)
 
virtual void setStartState (StatePtr start)
 

Protected Attributes

StatePtr state_map_ [1024][1024]
 
- Protected Attributes inherited from jsk_footstep_planner::Graph< Grid2DNode >
StatePtr goal_state_
 
std::vector< StatePtrnodes_
 
StatePtr start_state_
 

Detailed Description

Definition at line 65 of file sample_astar.cpp.

Member Typedef Documentation

◆ Ptr

Definition at line 68 of file sample_astar.cpp.

Member Function Documentation

◆ addNode()

virtual void Grid2DGraph::addNode ( StatePtr  state)
inlinevirtual

Reimplemented from jsk_footstep_planner::Graph< Grid2DNode >.

Definition at line 110 of file sample_astar.cpp.

◆ findNode()

virtual StatePtr Grid2DGraph::findNode ( int  x,
int  y 
)
inlinevirtual

Definition at line 116 of file sample_astar.cpp.

◆ isGoal()

virtual bool Grid2DGraph::isGoal ( StatePtr  state)
inlinevirtual

Implements jsk_footstep_planner::Graph< Grid2DNode >.

Definition at line 105 of file sample_astar.cpp.

◆ pathCost()

virtual double Grid2DGraph::pathCost ( StatePtr  from,
StatePtr  to,
double  prev_cost 
)
inlinevirtual

Reimplemented from jsk_footstep_planner::Graph< Grid2DNode >.

Definition at line 100 of file sample_astar.cpp.

◆ successors()

virtual std::vector<Grid2DGraph::StatePtr> Grid2DGraph::successors ( StatePtr  target_state)
inlinevirtual

Implements jsk_footstep_planner::Graph< Grid2DNode >.

Definition at line 69 of file sample_astar.cpp.

Member Data Documentation

◆ state_map_

StatePtr Grid2DGraph::state_map_[1024][1024]
protected

Definition at line 121 of file sample_astar.cpp.


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