hpp-manipulation 7.0.0
Classes for manipulation planning.
Loading...
Searching...
No Matches
hpp::manipulation::graph::GuidedStateSelector Class Reference

#include <hpp/manipulation/graph/guided-state-selector.hh>

Inheritance diagram for hpp::manipulation::graph::GuidedStateSelector:
Collaboration diagram for hpp::manipulation::graph::GuidedStateSelector:

Public Member Functions

void setStateList (const States_t &stateList)
 Set the target.
virtual EdgePtr_t chooseEdge (RoadmapNodePtr_t from) const
 Select randomly an outgoing edge of the given node.
std::ostream & dotPrint (std::ostream &os, dot::DrawingAttributes da=dot::DrawingAttributes()) const
 Print the object in a stream.
Public Member Functions inherited from hpp::manipulation::graph::StateSelector
virtual ~StateSelector ()
const std::string & name () const
StatePtr_t createState (const std::string &name, bool waypoint=false, const int w=0)
 Create an empty state.
StatePtr_t getState (ConfigurationIn_t config) const
 Returns the state of a configuration.
StatePtr_t getState (RoadmapNodePtr_t node) const
 Returns the state of a roadmap state.
States_t getStates () const
 Returns a list of all the states.
States_t getWaypointStates () const
 Returns a list of all the states.
void parentGraph (const GraphWkPtr_t &parent)
 Set the parent graph.
GraphPtr_t parentGraph () const
 Set the parent graph.

Static Public Member Functions

static GuidedStateSelectorPtr_t create (const std::string &name, const core::RoadmapPtr_t &roadmap)
 Create a new GuidedStateSelector.
Static Public Member Functions inherited from hpp::manipulation::graph::StateSelector
static StateSelectorPtr_t create (const std::string &name)
 Create a new StateSelector.

Protected Member Functions

void init (const GuidedStateSelectorPtr_t &weak)
 Initialization of the object.
 GuidedStateSelector (const std::string &name, const core::RoadmapPtr_t roadmap)
 Constructor.
std::ostream & print (std::ostream &os) const
 Print the object in a stream.
Protected Member Functions inherited from hpp::manipulation::graph::StateSelector
void init (const StateSelectorPtr_t &weak)
 Initialization of the object.
 StateSelector (const std::string &name)
 Constructor.

Additional Inherited Members

Protected Types inherited from hpp::manipulation::graph::StateSelector
typedef std::pair< int, StatePtr_tWeighedState_t
 List of the states of one end-effector, ordered by priority.
typedef std::list< WeighedState_tWeighedStates_t
Protected Attributes inherited from hpp::manipulation::graph::StateSelector
WeighedStates_t orderedStates_
States_t waypoints_

Constructor & Destructor Documentation

◆ GuidedStateSelector()

hpp::manipulation::graph::GuidedStateSelector::GuidedStateSelector(const std::string &name,
const core::RoadmapPtr_troadmap )
inlineprotected

Constructor.

Member Function Documentation

◆ chooseEdge()

virtual EdgePtr_t hpp::manipulation::graph::GuidedStateSelector::chooseEdge(RoadmapNodePtr_tfrom)const
virtual

Select randomly an outgoing edge of the given node.

Reimplemented from hpp::manipulation::graph::StateSelector.

◆ create()

GuidedStateSelectorPtr_t hpp::manipulation::graph::GuidedStateSelector::create(const std::string &name,
const core::RoadmapPtr_t &roadmap )
static

Create a new GuidedStateSelector.

◆ dotPrint()

std::ostream & hpp::manipulation::graph::GuidedStateSelector::dotPrint(std::ostream &os,
dot::DrawingAttributesda = dot::DrawingAttributes() ) const
virtual

Print the object in a stream.

Reimplemented from hpp::manipulation::graph::StateSelector.

◆ init()

void hpp::manipulation::graph::GuidedStateSelector::init(const GuidedStateSelectorPtr_t &weak)
protected

Initialization of the object.

◆ print()

std::ostream & hpp::manipulation::graph::GuidedStateSelector::print(std::ostream &os)const
protectedvirtual

Print the object in a stream.

Reimplemented from hpp::manipulation::graph::StateSelector.

◆ setStateList()

void hpp::manipulation::graph::GuidedStateSelector::setStateList(const States_t &stateList)

Set the target.


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