hpp-manipulation  4.9.0
Classes for manipulation planning.
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. More...
 
- Public Types inherited from hpp::core::ConnectedComponent
typedef ConnectedComponentRawPtr_t
 
typedef std::set< RawPtr_tRawPtrs_t
 
typedef ConnectedComponentRawPtr_t
 
typedef std::set< RawPtr_tRawPtrs_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 NodeVector_tnodes () const
 
ConnectedComponentPtr_t self ()
 
bool canReach (const ConnectedComponentPtr_t &cc)
 
bool canReach (const ConnectedComponentPtr_t &cc, RawPtrs_t &cc2Tocc1)
 
const RawPtrs_treachableTo () const
 
const RawPtrs_treachableFrom () const
 
bool canReach (const ConnectedComponentPtr_t &cc)
 
bool canReach (const ConnectedComponentPtr_t &cc, RawPtrs_t &cc2Tocc1)
 
const RawPtrs_treachableTo () const
 
const RawPtrs_treachableFrom () const
 
virtual ~ConnectedComponent ()
 
const NodeVector_tnodes () const
 
ConnectedComponentPtr_t self ()
 
bool canReach (const ConnectedComponentPtr_t &cc)
 
bool canReach (const ConnectedComponentPtr_t &cc, RawPtrs_t &cc2Tocc1)
 
const RawPtrs_treachableTo () const
 
const RawPtrs_treachableFrom () const
 
bool canReach (const ConnectedComponentPtr_t &cc)
 
bool canReach (const ConnectedComponentPtr_t &cc, RawPtrs_t &cc2Tocc1)
 
const RawPtrs_treachableTo () const
 
const RawPtrs_treachableFrom () const
 

Static Public Member Functions

static ConnectedComponentPtr_t create (const RoadmapWkPtr_t &roadmap)
 return a shared pointer to new instance of manipulation::ConnectedComponent More...
 
- Static Public Member Functions inherited from hpp::core::ConnectedComponent
static ConnectedComponentPtr_t create ()
 
static ConnectedComponentPtr_t 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 init (const ConnectedComponentPtr_t &shPtr)
 
 ConnectedComponent ()
 
void init (const 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()

static 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_t  graphState) 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: