hpp-manipulation
4.9.0
Classes for manipulation planning.
|
#include <hpp/manipulation/graph/guided-state-selector.hh>
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_t > | WeighedState_t |
List of the states of one end-effector, ordered by priority. More... | |
typedef std::list< WeighedState_t > | WeighedStates_t |
Protected Attributes inherited from hpp::manipulation::graph::StateSelector | |
WeighedStates_t | orderedStates_ |
States_t | waypoints_ |
|
inlineprotected |
Constructor.
|
virtual |
Select randomly an outgoing edge of the given node.
Reimplemented from hpp::manipulation::graph::StateSelector.
|
static |
Create a new GuidedStateSelector.
|
virtual |
Print the object in a stream.
Reimplemented from hpp::manipulation::graph::StateSelector.
|
protected |
Initialization of the object.
|
protectedvirtual |
Print the object in a stream.
Reimplemented from hpp::manipulation::graph::StateSelector.
void hpp::manipulation::graph::GuidedStateSelector::setStateList | ( | const States_t & | stateList | ) |
Set the target.