19 #ifndef HPP_MANIPULATION_LEAF_CONNECTED_COMP_HH 20 #define HPP_MANIPULATION_LEAF_CONNECTED_COMP_HH 29 namespace manipulation {
66 assert (!nodes_.empty());
67 return nodes_.front()->connectedComponent();
93 void init (
const LeafConnectedCompWkPtr_t& shPtr)
105 static void clean (LeafConnectedComps_t&
set);
107 mutable bool explored_;
108 RoadmapWkPtr_t roadmap_;
109 LeafConnectedComps_t to_, from_;
110 LeafConnectedCompWkPtr_t weak_;
149 #endif // HPP_MANIPULATION_LEAF_CONNECTED_COMP_HH
const RoadmapNodes_t & nodes() const
Definition: leaf-connected-comp.hh:70
shared_ptr< Roadmap > RoadmapPtr_t
Definition: fwd.hh:58
std::set< RawPtr_t > LeafConnectedComps_t
Definition: leaf-connected-comp.hh:38
core::vector_t vector_t
Definition: fwd.hh:85
shared_ptr< ConnectedComponent > ConnectedComponentPtr_t
Definition: fwd.hh:63
shared_ptr< WeighedLeafConnectedComp > WeighedLeafConnectedCompPtr_t
Definition: fwd.hh:70
Definition: leaf-connected-comp.hh:34
core::value_type value_type
Definition: fwd.hh:82
#define HPP_MANIPULATION_DLLAPI
Definition: config.hh:64
LeafConnectedComp()
For serialization only.
Definition: leaf-connected-comp.hh:102
shared_ptr< LeafConnectedComp > LeafConnectedCompPtr_t
Definition: fwd.hh:65
void init(const LeafConnectedCompWkPtr_t &shPtr)
Definition: leaf-connected-comp.hh:93
LeafConnectedComp * RawPtr_t
Definition: leaf-connected-comp.hh:37
value_type weight_
Definition: leaf-connected-comp.hh:134
WeighedLeafConnectedComp(const RoadmapPtr_t &r)
Definition: leaf-connected-comp.hh:140
const LeafConnectedComp::LeafConnectedComps_t & from() const
Definition: leaf-connected-comp.hh:80
RoadmapNodes_t nodes_
Definition: leaf-connected-comp.hh:99
Definition: roadmap.hh:35
shared_ptr< State > StatePtr_t
Definition: fwd.hh:36
core::ConnectedComponentPtr_t connectedComponent() const
Definition: leaf-connected-comp.hh:64
std::vector< RoadmapNodePtr_t > RoadmapNodes_t
Definition: fwd.hh:61
shared_ptr< Edge > EdgePtr_t
Definition: fwd.hh:37
graph::StatePtr_t state_
Definition: leaf-connected-comp.hh:98
Definition: leaf-connected-comp.hh:116
void normalizeProba()
Definition: leaf-connected-comp.hh:128
LeafConnectedComp(const RoadmapPtr_t &r)
Definition: leaf-connected-comp.hh:90
vector_t p_
Transition probabilities.
Definition: leaf-connected-comp.hh:136
std::vector< graph::EdgePtr_t > edges_
Definition: leaf-connected-comp.hh:137
const LeafConnectedComp::LeafConnectedComps_t & to() const
Definition: leaf-connected-comp.hh:85
Definition: roadmap-node.hh:32