hpp-manipulation  4.9.0
Classes for manipulation planning.
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. More...
 
virtual EdgePtr_t chooseEdge (RoadmapNodePtr_t from) const
 Select randomly an outgoing edge of the given node. More...
 
std::ostream & dotPrint (std::ostream &os, dot::DrawingAttributes da=dot::DrawingAttributes()) const
 Print the object in a stream. More...
 
- 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. More...
 
StatePtr_t getState (ConfigurationIn_t config) const
 Returns the state of a configuration. More...
 
StatePtr_t getState (RoadmapNodePtr_t node) const
 Returns the state of a roadmap state. More...
 
States_t getStates () const
 Returns a list of all the states. More...
 
States_t getWaypointStates () const
 Returns a list of all the states. More...
 
void parentGraph (const GraphWkPtr_t &parent)
 Set the parent graph. More...
 
GraphPtr_t parentGraph () const
 Set the parent graph. More...
 

Static Public Member Functions

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

Protected Member Functions

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

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. More...
 
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_t  roadmap 
)
inlineprotected

Constructor.

Member Function Documentation

◆ chooseEdge()

virtual EdgePtr_t hpp::manipulation::graph::GuidedStateSelector::chooseEdge ( RoadmapNodePtr_t  from) const
virtual

Select randomly an outgoing edge of the given node.

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

◆ create()

static 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::DrawingAttributes  da = 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: