#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... | |
![]() | |
virtual | ~StateSelector () |
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... | |
void | addNumericalConstraint (const constraints::ImplicitPtr_t &, const segments_t &=segments_t()) |
Should never be called. More... | |
void | addLockedJointConstraint (const constraints::LockedJoint &) |
Should never be called. More... | |
![]() | |
virtual | ~GraphComponent () |
const std::string & | name () const |
Get the component name. More... | |
const std::size_t & | id () const |
Return the component id. More... | |
virtual void | addNumericalConstraint (const DifferentiableFunctionPtr_t &function, const ComparisonTypes_t &ineq) HPP_MANIPULATION_DEPRECATED |
Add core::DifferentiableFunction to the component. More... | |
virtual void | resetNumericalConstraints () |
Reset the numerical constraints stored in the component. More... | |
virtual void | addLockedJointConstraint (const LockedJointPtr_t &constraint) |
Add core::LockedJoint constraint to the component. More... | |
virtual void | resetLockedJoints () |
Reset the locked joint in the component. More... | |
bool | insertNumericalConstraints (ConfigProjectorPtr_t &proj) const |
Insert the numerical constraints in a ConfigProjector. More... | |
bool | insertLockedJoints (ConfigProjectorPtr_t &cs) const |
Insert the LockedJoint constraints in a ConstraintSet. More... | |
const NumericalConstraints_t & | numericalConstraints () const |
Get a reference to the NumericalConstraints_t. More... | |
const IntervalsContainer_t & | passiveDofs () const |
Get a reference to the NumericalConstraints_t. More... | |
const LockedJoints_t & | lockedJoints () const |
Get a reference to the LockedJoints_t. More... | |
void | parentGraph (const GraphWkPtr_t &parent) |
Set the parent graph. More... | |
GraphPtr_t | parentGraph () const |
Set the parent graph. More... | |
void | setDirty () |
Declare a component as dirty. More... | |
Static Public Member Functions | |
static GuidedStateSelectorPtr_t | create (const std::string &name, const core::RoadmapPtr_t &roadmap) |
Create a new GuidedStateSelector. More... | |
![]() | |
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... | |
![]() | |
void | init (const StateSelectorPtr_t &weak) |
Initialization of the object. More... | |
StateSelector (const std::string &name) | |
Constructor. More... | |
virtual void | initialize () |
![]() | |
void | init (const GraphComponentWkPtr_t &weak) |
Initialize the component. More... | |
GraphComponent (const std::string &name) | |
void | throwIfNotInitialized () const |
virtual void | populateTooltip (dot::Tooltip &tp) const |
Populate DrawingAttributes tooltip. More... | |
Additional Inherited Members | |
![]() | |
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 |
![]() | |
WeighedStates_t | orderedStates_ |
States_t | waypoints_ |
![]() | |
NumericalConstraints_t | numericalConstraints_ |
Stores the numerical constraints. More... | |
IntervalsContainer_t | passiveDofs_ |
Stores the passive dofs for each numerical constraints. More... | |
LockedJoints_t | lockedJoints_ |
List of LockedJoint constraints. More... | |
GraphWkPtr_t | graph_ |
A weak pointer to the parent graph. More... | |
bool | isInit_ |
|
inlineprotected |
Constructor.
References print().
|
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.