hpp-core
4.9.0
Implement basic classes for canonical path planning for kinematic chains.
|
#include <hpp/core/connected-component.hh>
Public Types | |
typedef ConnectedComponent * | RawPtr_t |
typedef std::set< RawPtr_t > | RawPtrs_t |
Public Member Functions | |
virtual void | merge (const ConnectedComponentPtr_t &other) |
virtual | ~ConnectedComponent () |
virtual void | addNode (const NodePtr_t &node) |
const NodeVector_t & | nodes () const |
Access to the nodes. More... | |
ConnectedComponentPtr_t | self () |
Reachability | |
bool | canReach (const ConnectedComponentPtr_t &cc) |
bool | canReach (const ConnectedComponentPtr_t &cc, RawPtrs_t &cc2Tocc1) |
const RawPtrs_t & | reachableTo () const |
const RawPtrs_t & | reachableFrom () const |
Static Public Member Functions | |
static ConnectedComponentPtr_t | create () |
Static Public Attributes | |
static unsigned int | globalFinishTime_ |
Protected Member Functions | |
ConnectedComponent () | |
Constructor. More... | |
void | init (const ConnectedComponentPtr_t &shPtr) |
Connected component
Set of nodes reachable from one another.
typedef std::set<RawPtr_t> hpp::core::ConnectedComponent::RawPtrs_t |
|
inlinevirtual |
|
inlineprotected |
Constructor.
|
inlinevirtual |
Add node in connected component
node | node to add. |
bool hpp::core::ConnectedComponent::canReach | ( | const ConnectedComponentPtr_t & | cc | ) |
Whether this connected component can reach cc
cc | a connected component |
bool hpp::core::ConnectedComponent::canReach | ( | const ConnectedComponentPtr_t & | cc, |
RawPtrs_t & | cc2Tocc1 | ||
) |
Whether this connected component can reach cc
cc | a connected component |
cc2Tocc1 | list of connected components between cc2 and cc1 that should be merged. |
|
inlinestatic |
|
inlineprotected |
|
virtual |
Merge two connected components.
other | connected component to merge into this one. |
|
inline |
Access to the nodes.
|
inline |
|
inline |
|
inline |
|
static |