#include <solver_node.h>
Public Types | |
typedef GraphT::Ptr | GraphPtr |
typedef boost::weak_ptr< GraphT > | GraphWeakPtr |
typedef boost::shared_ptr < SolverNode > | Ptr |
typedef boost::shared_ptr< StateT > | StatePtr |
Public Member Functions | |
virtual std::vector< Ptr > | expand (Ptr this_ptr, bool verbose) |
double | getCost () const |
virtual Ptr | getParent () const |
std::vector< SolverNode::Ptr > | getPathWithoutThis () |
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, Ptr parent, GraphPtr graph) | |
SolverNode (StatePtr state, const double cost, GraphPtr graph) | |
virtual std::vector< Ptr > | wrapWithSolverNodes (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) |
Definition at line 50 of file solver_node.h.
typedef GraphT::Ptr jsk_footstep_planner::SolverNode< StateT, GraphT >::GraphPtr |
Definition at line 55 of file solver_node.h.
typedef boost::weak_ptr<GraphT> jsk_footstep_planner::SolverNode< StateT, GraphT >::GraphWeakPtr |
Definition at line 56 of file solver_node.h.
typedef boost::shared_ptr<SolverNode> jsk_footstep_planner::SolverNode< StateT, GraphT >::Ptr |
Definition at line 53 of file solver_node.h.
typedef boost::shared_ptr<StateT> jsk_footstep_planner::SolverNode< StateT, GraphT >::StatePtr |
Definition at line 54 of file solver_node.h.
jsk_footstep_planner::SolverNode< StateT, GraphT >::SolverNode | ( | StatePtr | state, |
const double | cost, | ||
Ptr | parent, | ||
GraphPtr | graph | ||
) | [inline] |
Definition at line 58 of file solver_node.h.
jsk_footstep_planner::SolverNode< StateT, GraphT >::SolverNode | ( | StatePtr | state, |
const double | cost, | ||
GraphPtr | graph | ||
) | [inline] |
Definition at line 64 of file solver_node.h.
virtual std::vector<Ptr> jsk_footstep_planner::SolverNode< StateT, GraphT >::expand | ( | Ptr | this_ptr, |
bool | verbose | ||
) | [inline, virtual] |
Definition at line 90 of file solver_node.h.
double jsk_footstep_planner::SolverNode< StateT, GraphT >::getCost | ( | ) | const [inline] |
Definition at line 110 of file solver_node.h.
virtual Ptr jsk_footstep_planner::SolverNode< StateT, GraphT >::getParent | ( | ) | const [inline, virtual] |
Definition at line 143 of file solver_node.h.
std::vector<SolverNode::Ptr> jsk_footstep_planner::SolverNode< StateT, GraphT >::getPathWithoutThis | ( | ) | [inline] |
Definition at line 117 of file solver_node.h.
double jsk_footstep_planner::SolverNode< StateT, GraphT >::getSortValue | ( | ) | const [inline] |
Definition at line 111 of file solver_node.h.
virtual StatePtr jsk_footstep_planner::SolverNode< StateT, GraphT >::getState | ( | ) | const [inline, virtual] |
Definition at line 70 of file solver_node.h.
bool jsk_footstep_planner::SolverNode< StateT, GraphT >::isRoot | ( | ) | const [inline] |
Definition at line 109 of file solver_node.h.
void jsk_footstep_planner::SolverNode< StateT, GraphT >::setCost | ( | double | c | ) | [inline] |
Definition at line 114 of file solver_node.h.
void jsk_footstep_planner::SolverNode< StateT, GraphT >::setGraph | ( | GraphPtr | graph | ) | [inline] |
Definition at line 112 of file solver_node.h.
void jsk_footstep_planner::SolverNode< StateT, GraphT >::setSortValue | ( | double | v | ) | [inline] |
Definition at line 113 of file solver_node.h.
virtual void jsk_footstep_planner::SolverNode< StateT, GraphT >::setState | ( | StatePtr | state | ) | [inline, virtual] |
Definition at line 129 of file solver_node.h.
virtual std::vector<Ptr> jsk_footstep_planner::SolverNode< StateT, GraphT >::wrapWithSolverNodes | ( | Ptr | this_ptr, |
std::vector< StatePtr > | successors | ||
) | [inline, virtual] |
Definition at line 73 of file solver_node.h.
bool operator< | ( | const SolverNode< StateT, GraphT >::Ptr | a, |
const SolverNode< StateT, GraphT >::Ptr | b | ||
) | [friend] |
Definition at line 131 of file solver_node.h.
bool operator> | ( | const SolverNode< StateT, GraphT >::Ptr | a, |
const SolverNode< StateT, GraphT >::Ptr | b | ||
) | [friend] |
Definition at line 137 of file solver_node.h.
double jsk_footstep_planner::SolverNode< StateT, GraphT >::cost_ [protected] |
Definition at line 146 of file solver_node.h.
GraphWeakPtr jsk_footstep_planner::SolverNode< StateT, GraphT >::graph_ [protected] |
Definition at line 150 of file solver_node.h.
Ptr jsk_footstep_planner::SolverNode< StateT, GraphT >::parent_ [protected] |
Definition at line 149 of file solver_node.h.
double jsk_footstep_planner::SolverNode< StateT, GraphT >::sort_value_ [protected] |
Definition at line 147 of file solver_node.h.
StatePtr jsk_footstep_planner::SolverNode< StateT, GraphT >::state_ [protected] |
Definition at line 148 of file solver_node.h.