Public Types | Public Member Functions | Protected Attributes | Friends | List of all members
jsk_footstep_planner::SolverNode< StateT, GraphT > Class Template Reference

#include <solver_node.h>

Public Types

typedef GraphT::Ptr GraphPtr
 
typedef boost::weak_ptr< GraphT > GraphWeakPtr
 
typedef boost::shared_ptr< SolverNodePtr
 
typedef boost::shared_ptr< StateT > StatePtr
 

Public Member Functions

virtual std::vector< Ptrexpand (Ptr this_ptr, bool verbose)
 
double getCost () const
 
virtual Ptr getParent () const
 
std::vector< SolverNode::PtrgetPathWithoutThis ()
 
double getSortValue () const
 
virtual StatePtr getState () const
 
bool isRoot () const
 
void setCost (double c)
 
void setGraph (GraphPtr graph)
 
void setSortValue (double v)
 
virtual void setState (StatePtr state)
 
 SolverNode (StatePtr state, const double cost, GraphPtr graph)
 
 SolverNode (StatePtr state, const double cost, Ptr parent, GraphPtr graph)
 
virtual std::vector< PtrwrapWithSolverNodes (Ptr this_ptr, std::vector< StatePtr > successors)
 

Protected Attributes

double cost_
 
GraphWeakPtr graph_
 
Ptr parent_
 
double sort_value_
 
StatePtr state_
 

Friends

bool operator< (const SolverNode< StateT, GraphT >::Ptr a, const SolverNode< StateT, GraphT >::Ptr b)
 
bool operator> (const SolverNode< StateT, GraphT >::Ptr a, const SolverNode< StateT, GraphT >::Ptr b)
 

Detailed Description

template<class StateT, class GraphT>
class jsk_footstep_planner::SolverNode< StateT, GraphT >

Definition at line 82 of file solver_node.h.

Member Typedef Documentation

◆ GraphPtr

template<class StateT , class GraphT >
typedef GraphT::Ptr jsk_footstep_planner::SolverNode< StateT, GraphT >::GraphPtr

Definition at line 119 of file solver_node.h.

◆ GraphWeakPtr

template<class StateT , class GraphT >
typedef boost::weak_ptr<GraphT> jsk_footstep_planner::SolverNode< StateT, GraphT >::GraphWeakPtr

Definition at line 120 of file solver_node.h.

◆ Ptr

template<class StateT , class GraphT >
typedef boost::shared_ptr<SolverNode> jsk_footstep_planner::SolverNode< StateT, GraphT >::Ptr

Definition at line 117 of file solver_node.h.

◆ StatePtr

template<class StateT , class GraphT >
typedef boost::shared_ptr<StateT> jsk_footstep_planner::SolverNode< StateT, GraphT >::StatePtr

Definition at line 118 of file solver_node.h.

Constructor & Destructor Documentation

◆ SolverNode() [1/2]

template<class StateT , class GraphT >
jsk_footstep_planner::SolverNode< StateT, GraphT >::SolverNode ( StatePtr  state,
const double  cost,
Ptr  parent,
GraphPtr  graph 
)
inline

Definition at line 123 of file solver_node.h.

◆ SolverNode() [2/2]

template<class StateT , class GraphT >
jsk_footstep_planner::SolverNode< StateT, GraphT >::SolverNode ( StatePtr  state,
const double  cost,
GraphPtr  graph 
)
inline

Definition at line 127 of file solver_node.h.

Member Function Documentation

◆ expand()

template<class StateT , class GraphT >
virtual std::vector<Ptr> jsk_footstep_planner::SolverNode< StateT, GraphT >::expand ( Ptr  this_ptr,
bool  verbose 
)
inlinevirtual

Definition at line 151 of file solver_node.h.

◆ getCost()

template<class StateT , class GraphT >
double jsk_footstep_planner::SolverNode< StateT, GraphT >::getCost ( ) const
inline

Definition at line 171 of file solver_node.h.

◆ getParent()

template<class StateT , class GraphT >
virtual Ptr jsk_footstep_planner::SolverNode< StateT, GraphT >::getParent ( ) const
inlinevirtual

Definition at line 204 of file solver_node.h.

◆ getPathWithoutThis()

template<class StateT , class GraphT >
std::vector<SolverNode::Ptr> jsk_footstep_planner::SolverNode< StateT, GraphT >::getPathWithoutThis ( )
inline

Definition at line 178 of file solver_node.h.

◆ getSortValue()

template<class StateT , class GraphT >
double jsk_footstep_planner::SolverNode< StateT, GraphT >::getSortValue ( ) const
inline

Definition at line 172 of file solver_node.h.

◆ getState()

template<class StateT , class GraphT >
virtual StatePtr jsk_footstep_planner::SolverNode< StateT, GraphT >::getState ( ) const
inlinevirtual

Definition at line 131 of file solver_node.h.

◆ isRoot()

template<class StateT , class GraphT >
bool jsk_footstep_planner::SolverNode< StateT, GraphT >::isRoot ( ) const
inline

Definition at line 170 of file solver_node.h.

◆ setCost()

template<class StateT , class GraphT >
void jsk_footstep_planner::SolverNode< StateT, GraphT >::setCost ( double  c)
inline

Definition at line 175 of file solver_node.h.

◆ setGraph()

template<class StateT , class GraphT >
void jsk_footstep_planner::SolverNode< StateT, GraphT >::setGraph ( GraphPtr  graph)
inline

Definition at line 173 of file solver_node.h.

◆ setSortValue()

template<class StateT , class GraphT >
void jsk_footstep_planner::SolverNode< StateT, GraphT >::setSortValue ( double  v)
inline

Definition at line 174 of file solver_node.h.

◆ setState()

template<class StateT , class GraphT >
virtual void jsk_footstep_planner::SolverNode< StateT, GraphT >::setState ( StatePtr  state)
inlinevirtual

Definition at line 190 of file solver_node.h.

◆ wrapWithSolverNodes()

template<class StateT , class GraphT >
virtual std::vector<Ptr> jsk_footstep_planner::SolverNode< StateT, GraphT >::wrapWithSolverNodes ( Ptr  this_ptr,
std::vector< StatePtr successors 
)
inlinevirtual

Definition at line 134 of file solver_node.h.

Friends And Related Function Documentation

◆ operator<

template<class StateT , class GraphT >
bool operator< ( const SolverNode< StateT, GraphT >::Ptr  a,
const SolverNode< StateT, GraphT >::Ptr  b 
)
friend

Definition at line 192 of file solver_node.h.

◆ operator>

template<class StateT , class GraphT >
bool operator> ( const SolverNode< StateT, GraphT >::Ptr  a,
const SolverNode< StateT, GraphT >::Ptr  b 
)
friend

Definition at line 198 of file solver_node.h.

Member Data Documentation

◆ cost_

template<class StateT , class GraphT >
double jsk_footstep_planner::SolverNode< StateT, GraphT >::cost_
protected

Definition at line 207 of file solver_node.h.

◆ graph_

template<class StateT , class GraphT >
GraphWeakPtr jsk_footstep_planner::SolverNode< StateT, GraphT >::graph_
protected

Definition at line 211 of file solver_node.h.

◆ parent_

template<class StateT , class GraphT >
Ptr jsk_footstep_planner::SolverNode< StateT, GraphT >::parent_
protected

Definition at line 210 of file solver_node.h.

◆ sort_value_

template<class StateT , class GraphT >
double jsk_footstep_planner::SolverNode< StateT, GraphT >::sort_value_
protected

Definition at line 208 of file solver_node.h.

◆ state_

template<class StateT , class GraphT >
StatePtr jsk_footstep_planner::SolverNode< StateT, GraphT >::state_
protected

Definition at line 209 of file solver_node.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