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

Constructor.


Member Function Documentation

Should never be called.

virtual EdgePtr_t hpp::manipulation::graph::NodeSelector::chooseEdge ( const NodePtr_t node) const [virtual]

Select randomly an outgoing edge of the given 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.

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.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends