hpp-manipulation 7.0.0
Classes for manipulation planning.
Loading...
Searching...
No Matches
hpp::manipulation::ConnectedComponent Class Reference

#include <hpp/manipulation/connected-component.hh>

Inheritance diagram for hpp::manipulation::ConnectedComponent:
Collaboration diagram for hpp::manipulation::ConnectedComponent:

Public Types

typedef std::map< graph::StatePtr_t, RoadmapNodes_tGraphStates_t
 Map of graph states within the connected component.
Public Types inherited from hpp::core::ConnectedComponent
typedef RawPtr_t
typedef std::set< RawPtrs_t

Public Member Functions

 ConnectedComponent ()
void merge (const core::ConnectedComponentPtr_t &otherCC)
void addNode (const core::NodePtr_t &node)
const RoadmapNodes_tgetRoadmapNodes (const graph::StatePtr_t graphState) const
Public Member Functions inherited from hpp::core::ConnectedComponent
virtual ~ConnectedComponent ()
const nodes () const
self ()
bool ConnectedComponent &rhs) const
bool ConnectedComponentPtr_t &cc)
bool RawPtrs_t &cc2Tocc1)
const reachableTo () const
const reachableFrom () const
bool ConnectedComponentPtr_t &cc)
bool RawPtrs_t &cc2Tocc1)
const reachableTo () const
const reachableFrom () const

Static Public Member Functions

static ConnectedComponentPtr_t create (const RoadmapWkPtr_t &roadmap)
Static Public Member Functions inherited from hpp::core::ConnectedComponent
static create ()

Additional Inherited Members

Static Public Attributes inherited from hpp::core::ConnectedComponent
static unsigned int globalFinishTime_
Protected Member Functions inherited from hpp::core::ConnectedComponent
 ConnectedComponent ()
void ConnectedComponentPtr_t &shPtr)

Detailed Description

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.

Member Typedef Documentation

◆ GraphStates_t

Map of graph states within the connected component.

Constructor & Destructor Documentation

◆ ConnectedComponent()

hpp::manipulation::ConnectedComponent::ConnectedComponent()
inline

Member Function Documentation

◆ addNode()

void hpp::manipulation::ConnectedComponent::addNode(const core::NodePtr_t &node)
virtual

Add roadmap node to connected component

Parameters
roadmapnode to be added

Reimplemented from hpp::core::ConnectedComponent.

◆ create()

ConnectedComponentPtr_t hpp::manipulation::ConnectedComponent::create(const RoadmapWkPtr_t &roadmap)
static

return a shared pointer to new instance of manipulation::ConnectedComponent

◆ getRoadmapNodes()

const RoadmapNodes_t & hpp::manipulation::ConnectedComponent::getRoadmapNodes(const graph::StatePtr_tgraphState)const

◆ merge()

void hpp::manipulation::ConnectedComponent::merge(const core::ConnectedComponentPtr_t &otherCC)
virtual

Merge two connected components (extension of core::ConnectedComponent::merge)

Parameters
othermanipulation connected component to merge into this one.
Note
other will be empty after calling this method.

Reimplemented from hpp::core::ConnectedComponent.


The documentation for this class was generated from the following file: