|
hpp-core 9.0.2
Implement basic classes for canonical path planning for kinematic chains.
|
#include <hpp/core/node.hh>
Public Types | |
| typedef std::list< EdgePtr_t > | Edges_t |
Public Member Functions | |
| Node (ConfigurationIn_t configuration) | |
| Node (ConfigurationIn_t configuration, ConnectedComponentPtr_t connectedComponent) | |
| void | addOutEdge (EdgePtr_t edge) |
| void | addInEdge (EdgePtr_t edge) |
| void | connectedComponent (const ConnectedComponentPtr_t &cc) |
| Store the connected component the node belongs to. | |
| ConnectedComponentPtr_t | connectedComponent () const |
| const Edges_t & | outEdges () const |
| Access to outEdges. | |
| const Edges_t & | inEdges () const |
| Access to inEdges. | |
| bool | isOutNeighbor (const NodePtr_t &n) const |
| bool | isInNeighbor (const NodePtr_t &n) const |
| const Configuration_t & | configuration () const |
| std::ostream & | print (std::ostream &os) const |
| Print node in a stream. | |
| virtual | ~Node () |
Protected Member Functions | |
| Node () | |
Node of a roadmap
Stores a configuration.
| typedef std::list<EdgePtr_t> hpp::core::Node::Edges_t |
| hpp::core::Node::Node | ( | ConfigurationIn_t | configuration | ) |
Constructor
| configuration | configuration stored in the new node |
| hpp::core::Node::Node | ( | ConfigurationIn_t | configuration, |
| ConnectedComponentPtr_t | connectedComponent ) |
Constructor
| configuration | configuration stored in the new node |
| connectedComponent | connected component the node belongs to. |
|
inlinevirtual |
|
inlineprotected |
| void hpp::core::Node::addInEdge | ( | EdgePtr_t | edge | ) |
| void hpp::core::Node::addOutEdge | ( | EdgePtr_t | edge | ) |
| const Configuration_t & hpp::core::Node::configuration | ( | ) | const |
| ConnectedComponentPtr_t hpp::core::Node::connectedComponent | ( | ) | const |
| void hpp::core::Node::connectedComponent | ( | const ConnectedComponentPtr_t & | cc | ) |
Store the connected component the node belongs to.
| const Edges_t & hpp::core::Node::inEdges | ( | ) | const |
Access to inEdges.
| bool hpp::core::Node::isInNeighbor | ( | const NodePtr_t & | n | ) | const |
Check whether otherNode is an in-neighbor of this node. Node B is an in-neighbor of node A if node A has an ingoing edge going to B.
| bool hpp::core::Node::isOutNeighbor | ( | const NodePtr_t & | n | ) | const |
Check whether otherNode is an out-neighbor of this node. Node B is an out-neighbor of node A if node A has an outgoing edge going to B.
| const Edges_t & hpp::core::Node::outEdges | ( | ) | const |
Access to outEdges.
| std::ostream & hpp::core::Node::print | ( | std::ostream & | os | ) | const |
Print node in a stream.