hpp-manipulation
6.0.0
Classes for manipulation planning.
|
#include <hpp/manipulation/connected-component.hh>
Public Types | |
typedef std::map< graph::StatePtr_t, RoadmapNodes_t > | GraphStates_t |
Map of graph states within the connected component. More... | |
Public Member Functions | |
ConnectedComponent () | |
void | merge (const core::ConnectedComponentPtr_t &otherCC) |
void | addNode (const core::NodePtr_t &node) |
const RoadmapNodes_t & | getRoadmapNodes (const graph::StatePtr_t graphState) const |
Static Public Member Functions | |
static ConnectedComponentPtr_t | create (const RoadmapWkPtr_t &roadmap) |
Extension of hpp::core::connected-component. Adds a list of roadmap nodes for every contraint graph state within the connected component. Thus every roadmap node is assigned to a grahp state, which minimises computation time.
typedef std::map<graph::StatePtr_t, RoadmapNodes_t> hpp::manipulation::ConnectedComponent::GraphStates_t |
Map of graph states within the connected component.
|
inline |
void hpp::manipulation::ConnectedComponent::addNode | ( | const core::NodePtr_t & | node | ) |
Add roadmap node to connected component
roadmap | node to be added |
|
static |
return a shared pointer to new instance of manipulation::ConnectedComponent
const RoadmapNodes_t& hpp::manipulation::ConnectedComponent::getRoadmapNodes | ( | const graph::StatePtr_t | graphState | ) | const |
void hpp::manipulation::ConnectedComponent::merge | ( | const core::ConnectedComponentPtr_t & | otherCC | ) |
Merge two connected components (extension of core::ConnectedComponent::merge)
other | manipulation connected component to merge into this one. |