#include <hpp/core/node.hh>
Node of a roadmap
Stores a configuration.
◆ Edges_t
◆ Node() [1/2]
Constructor
- Parameters
-
configuration | configuration stored in the new node |
- Note
- A new connected component is created. For consistency, the new node is not registered in the connected component.
◆ Node() [2/2]
Constructor
- Parameters
-
configuration | configuration stored in the new node |
connectedComponent | connected component the node belongs to. |
◆ ~Node()
virtual hpp::core::Node::~Node |
( |
| ) |
|
|
inlinevirtual |
◆ addInEdge()
void hpp::core::Node::addInEdge |
( |
EdgePtr_t |
edge | ) |
|
◆ addOutEdge()
void hpp::core::Node::addOutEdge |
( |
EdgePtr_t |
edge | ) |
|
◆ configuration()
◆ connectedComponent() [1/2]
Store the connected component the node belongs to.
◆ connectedComponent() [2/2]
◆ inEdges()
const Edges_t& hpp::core::Node::inEdges |
( |
| ) |
const |
◆ isInNeighbor()
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.
◆ isOutNeighbor()
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.
◆ outEdges()
const Edges_t& hpp::core::Node::outEdges |
( |
| ) |
const |
◆ print()
std::ostream& hpp::core::Node::print |
( |
std::ostream & |
os | ) |
const |
The documentation for this class was generated from the following file: