hpp::manipulation::graph::NodeSelector Class Reference

This class is used to get the state of a configuration. More...

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

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

List of all members.

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.

Detailed Description

This class is used to get the state of a configuration.

States have to be ordered because a configuration can be in several states.


Constructor & Destructor Documentation

hpp::manipulation::graph::NodeSelector::NodeSelector ( ) [inline, protected]

Constructor.


Member Function Documentation

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.

NodePtr_t hpp::manipulation::graph::NodeSelector::createNode ( )

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.

NodePtr_t hpp::manipulation::graph::NodeSelector::getNode ( ConfigurationIn_t  config) const

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.