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

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

Inheritance diagram for hpp::manipulation::WeighedLeafConnectedComp:
Collaboration diagram for hpp::manipulation::WeighedLeafConnectedComp:

Public Member Functions

void merge (const LeafConnectedCompPtr_t &otherCC)
void setFirstNode (const RoadmapNodePtr_t &node)
std::size_t indexOf (const graph::EdgePtr_t e) const
void normalizeProba ()
Public Member Functions inherited from hpp::manipulation::LeafConnectedComp
bool canReach (const LeafConnectedCompPtr_t &cc)
bool canReach (const LeafConnectedCompPtr_t &cc, LeafConnectedComp::LeafConnectedComps_t &cc2Tocc1)
void addNode (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 WeighedLeafConnectedCompPtr_t create (const RoadmapPtr_t &roadmap)
Static Public Member Functions inherited from hpp::manipulation::LeafConnectedComp
static LeafConnectedCompPtr_t create (const RoadmapPtr_t &roadmap)
 return a shared pointer to new instance

Public Attributes

value_type weight_
vector_t p_
 Transition probabilities.
std::vector< graph::EdgePtr_tedges_

Protected Member Functions

 WeighedLeafConnectedComp (const RoadmapPtr_t &r)
Protected Member Functions inherited from hpp::manipulation::LeafConnectedComp
 LeafConnectedComp (const RoadmapPtr_t &r)
void init (const LeafConnectedCompWkPtr_t &shPtr)
 LeafConnectedComp ()
 For serialization only.

Additional Inherited Members

Public Types inherited from hpp::manipulation::LeafConnectedComp
typedef LeafConnectedCompRawPtr_t
typedef std::set< RawPtr_tLeafConnectedComps_t
Protected Attributes inherited from hpp::manipulation::LeafConnectedComp
graph::StatePtr_t state_
RoadmapNodes_t nodes_

Constructor & Destructor Documentation

◆ WeighedLeafConnectedComp()

hpp::manipulation::WeighedLeafConnectedComp::WeighedLeafConnectedComp(const RoadmapPtr_t &r)
inlineprotected

Member Function Documentation

◆ create()

WeighedLeafConnectedCompPtr_t hpp::manipulation::WeighedLeafConnectedComp::create(const RoadmapPtr_t &roadmap)
static

◆ indexOf()

std::size_t hpp::manipulation::WeighedLeafConnectedComp::indexOf(const graph::EdgePtr_te)const

◆ merge()

void hpp::manipulation::WeighedLeafConnectedComp::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 from hpp::manipulation::LeafConnectedComp.

◆ normalizeProba()

void hpp::manipulation::WeighedLeafConnectedComp::normalizeProba()
inline

◆ setFirstNode()

void hpp::manipulation::WeighedLeafConnectedComp::setFirstNode(const RoadmapNodePtr_t &node)
virtual

Member Data Documentation

◆ edges_

std::vector<graph::EdgePtr_t> hpp::manipulation::WeighedLeafConnectedComp::edges_

◆ p_

vector_t hpp::manipulation::WeighedLeafConnectedComp::p_

Transition probabilities.

◆ weight_

value_type hpp::manipulation::WeighedLeafConnectedComp::weight_

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