This class is used to get the state of a configuration. More...
#include <hpp/manipulation/graph/node-selector.hh>
Public Member Functions | |
NodePtr_t | createNode () |
Create an empty node. | |
NodePtr_t | getNode (ConfigurationIn_t config) const |
Returns the state of a configuration. | |
virtual EdgePtr_t | chooseEdge (const NodePtr_t &node) const |
Select randomly an outgoing edge of the given node. | |
void | addNumericalConstraint (const core::NumericalConstraintPtr_t &, const SizeIntervals_t &=SizeIntervals_t()) |
Should never be called. | |
void | addLockedJointConstraint (const core::LockedJoint &) |
Should never be called. | |
std::ostream & | dotPrint (std::ostream &os, dot::DrawingAttributes da=dot::DrawingAttributes()) const |
Print the object in a stream. | |
Static Public Member Functions | |
static NodeSelectorPtr_t | create () |
Create a new NodeSelector. | |
Protected Member Functions | |
void | init (const NodeSelectorPtr_t &weak) |
Initialization of the object. | |
NodeSelector () | |
Constructor. | |
std::ostream & | print (std::ostream &os) const |
Print the object in a stream. |
This class is used to get the state of a configuration.
States have to be ordered because a configuration can be in several states.
hpp::manipulation::graph::NodeSelector::NodeSelector | ( | ) | [inline, protected] |
Constructor.
void hpp::manipulation::graph::NodeSelector::addLockedJointConstraint | ( | const core::LockedJoint & | ) | [inline] |
Should never be called.
void hpp::manipulation::graph::NodeSelector::addNumericalConstraint | ( | const core::NumericalConstraintPtr_t & | , |
const SizeIntervals_t & | = SizeIntervals_t () |
||
) | [inline, virtual] |
Should never be called.
Reimplemented from hpp::manipulation::graph::GraphComponent.
virtual EdgePtr_t hpp::manipulation::graph::NodeSelector::chooseEdge | ( | const NodePtr_t & | node | ) | const [virtual] |
Select randomly an outgoing edge of the given node.
static NodeSelectorPtr_t hpp::manipulation::graph::NodeSelector::create | ( | ) | [static] |
Create a new NodeSelector.
Create an empty node.
std::ostream& hpp::manipulation::graph::NodeSelector::dotPrint | ( | std::ostream & | os, |
dot::DrawingAttributes | da = dot::DrawingAttributes() |
||
) | const [virtual] |
Print the object in a stream.
Reimplemented from hpp::manipulation::graph::GraphComponent.
Returns the state of a configuration.
void hpp::manipulation::graph::NodeSelector::init | ( | const NodeSelectorPtr_t & | weak | ) | [protected] |
Initialization of the object.
std::ostream& hpp::manipulation::graph::NodeSelector::print | ( | std::ostream & | os | ) | const [protected, virtual] |
Print the object in a stream.
Reimplemented from hpp::manipulation::graph::GraphComponent.