hpp-manipulation  4.9.0
Classes for manipulation planning.
hpp::manipulation::LeafConnectedComp Class Reference

#include <hpp/manipulation/leaf-connected-comp.hh>

Inheritance diagram for hpp::manipulation::LeafConnectedComp:

Public Types

typedef LeafConnectedCompRawPtr_t
 
typedef std::set< RawPtr_tLeafConnectedComps_t
 

Public Member Functions

virtual void merge (const LeafConnectedCompPtr_t &otherCC)
 
bool canReach (const LeafConnectedCompPtr_t &cc)
 
bool canReach (const LeafConnectedCompPtr_t &cc, LeafConnectedComp::LeafConnectedComps_t &cc2Tocc1)
 
void addNode (const RoadmapNodePtr_t &node)
 
virtual void setFirstNode (const RoadmapNodePtr_t &node)
 
core::ConnectedComponentPtr_t connectedComponent () const
 
const RoadmapNodes_tnodes () const
 
LeafConnectedCompPtr_t self ()
 
const LeafConnectedComp::LeafConnectedComps_tfrom () const
 
const LeafConnectedComp::LeafConnectedComps_tto () const
 

Static Public Member Functions

static LeafConnectedCompPtr_t create (const RoadmapPtr_t &roadmap)
 return a shared pointer to new instance More...
 

Protected Member Functions

 LeafConnectedComp (const RoadmapPtr_t &r)
 
void init (const LeafConnectedCompWkPtr_t &shPtr)
 

Protected Attributes

graph::StatePtr_t state_
 
RoadmapNodes_t nodes_
 

Friends

class Roadmap
 

Detailed Description

Set of configurations accessible to each others by a single transition, with the same right hand side.

This assumes the roadmap is not directed.

Member Typedef Documentation

◆ LeafConnectedComps_t

◆ RawPtr_t

Constructor & Destructor Documentation

◆ LeafConnectedComp()

hpp::manipulation::LeafConnectedComp::LeafConnectedComp ( const RoadmapPtr_t r)
inlineprotected

Member Function Documentation

◆ addNode()

void hpp::manipulation::LeafConnectedComp::addNode ( const RoadmapNodePtr_t node)

Add roadmap node to connected component

Parameters
roadmapnode to be added

◆ canReach() [1/2]

bool hpp::manipulation::LeafConnectedComp::canReach ( const LeafConnectedCompPtr_t cc)

Whether this connected component can reach cc

Parameters
cca connected component

◆ canReach() [2/2]

bool hpp::manipulation::LeafConnectedComp::canReach ( const LeafConnectedCompPtr_t cc,
LeafConnectedComp::LeafConnectedComps_t cc2Tocc1 
)

Whether this connected component can reach cc

Parameters
cca connected component
Return values
cc2Tocc1list of connected components between cc2 and cc1 that should be merged.

◆ connectedComponent()

core::ConnectedComponentPtr_t hpp::manipulation::LeafConnectedComp::connectedComponent ( ) const
inline

◆ create()

static LeafConnectedCompPtr_t hpp::manipulation::LeafConnectedComp::create ( const RoadmapPtr_t roadmap)
static

return a shared pointer to new instance

◆ from()

const LeafConnectedComp::LeafConnectedComps_t& hpp::manipulation::LeafConnectedComp::from ( ) const
inline

◆ init()

void hpp::manipulation::LeafConnectedComp::init ( const LeafConnectedCompWkPtr_t &  shPtr)
inlineprotected

◆ merge()

virtual void hpp::manipulation::LeafConnectedComp::merge ( const LeafConnectedCompPtr_t otherCC)
virtual

Merge two connected components

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

Reimplemented in hpp::manipulation::WeighedLeafConnectedComp.

◆ nodes()

const RoadmapNodes_t& hpp::manipulation::LeafConnectedComp::nodes ( ) const
inline

◆ self()

LeafConnectedCompPtr_t hpp::manipulation::LeafConnectedComp::self ( )
inline

◆ setFirstNode()

virtual void hpp::manipulation::LeafConnectedComp::setFirstNode ( const RoadmapNodePtr_t node)
virtual

◆ to()

const LeafConnectedComp::LeafConnectedComps_t& hpp::manipulation::LeafConnectedComp::to ( ) const
inline

Friends And Related Function Documentation

◆ Roadmap

friend class Roadmap
friend

Member Data Documentation

◆ nodes_

RoadmapNodes_t hpp::manipulation::LeafConnectedComp::nodes_
protected

◆ state_

graph::StatePtr_t hpp::manipulation::LeafConnectedComp::state_
protected

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