hpp-manipulation 7.0.0 Classes for manipulation planning. |
#include <hpp/manipulation/roadmap.hh>


Public Types | |
| typedef core::Roadmap | Parent |
Public Member Functions | |
| void | insertHistogram (const graph::HistogramPtr_t hist) |
| void | constraintGraph (const graph::GraphPtr_t &graph) |
| Register the constraint graph to do statistics. | |
| void | clear () |
| Clear the histograms and call parent implementation. | |
| void | push_node (const core::NodePtr_t &n) |
| Catch event 'New node added'. | |
| RoadmapNodePtr_t | nearestNodeInState (ConfigurationIn_t configuration, const ConnectedComponentPtr_t &connectedComponent, const graph::StatePtr_t &state, value_type &minDistance) const |
| void | connect (const LeafConnectedCompPtr_t &cc1, const LeafConnectedCompPtr_t &cc2) |
| void | merge (const LeafConnectedCompPtr_t &cc1, LeafConnectedComp::LeafConnectedComps_t &ccs) |
| graph::StatePtr_t | getState (RoadmapNodePtr_t node) |
| Get graph state corresponding to given roadmap node. | |
| const LeafConnectedComps_t & | leafConnectedComponents () const |
| Public Member Functions inherited from hpp::core::Roadmap | |
| ConfigurationIn_t config) | |
| value_type &minDistance, bool reverse=false) | |
| value_type &minDistance, bool reverse=false) | |
| size_type k) | |
| size_type k) | |
| value_type maxDistance) | |
| PathPtr_t path) | |
| PathPtr_t path) | |
| PathPtr_t path) | |
| PathPtr_t &path) | |
| void | PathPtr_t &path) |
| void | RoadmapPtr_t &other) |
| void | PathVectorPtr_t &path, bool backAndForth) |
| ConfigurationIn_t config) | |
| void | resetGoalNodes () |
| void | ConfigurationIn_t config) |
| virtual | ~Roadmap () |
| bool | pathExists () const |
| const nodes () const | |
| const edges () const | |
| initNode () const | |
| const goalNodes () const | |
| const connectedComponents () const | |
| nearestNeighbor () | |
| void | NearestNeighborPtr_t nearestNeighbor) |
| std::ostream & | print (std::ostream &os) const |
| const distance () const | |
| const cost () const | |
| void | path::CostPtr_t &cost) |
| const distance () const | |
| const cost () const | |
| void | path::CostPtr_t &cost) |
Static Public Member Functions | |
| static RoadmapPtr_t | create (const core::DevicePtr_t &robot) |
| Return a shared pointer to a new instance. | |
| Static Public Member Functions inherited from hpp::core::Roadmap | |
| static DevicePtr_t &robot) | |
Protected Member Functions | |
| void | statInsert (const RoadmapNodePtr_t &n) |
| Register a new configuration. | |
| Roadmap (const core::DevicePtr_t &robot) | |
| Constructor. | |
| core::NodePtr_t | createNode (ConfigurationIn_t config) const |
| Node factory. | |
| void | init (const RoadmapPtr_t &shPtr) |
| virtual void | impl_addEdge (const core::EdgePtr_t &edge) |
| Protected Member Functions inherited from hpp::core::Roadmap | |
| DevicePtr_t &robot) | |
| Roadmap () | |
| void | NodePtr_t &node) |
| void | init (RoadmapWkPtr_t weak) |
Extension of hpp::core::Roadmap. It adds the ability of doing statistics on the graph
| protected |
Constructor.
| virtual |
Clear the histograms and call parent implementation.
Reimplemented from hpp::core::Roadmap.
| void hpp::manipulation::Roadmap::connect | ( | const LeafConnectedCompPtr_t & | cc1, |
| const LeafConnectedCompPtr_t & | cc2 ) |
Update the graph of connected components after new connection
| cc1,cc2 | the two connected components that have just been connected. |
| void hpp::manipulation::Roadmap::constraintGraph | ( | const graph::GraphPtr_t & | graph | ) |
Register the constraint graph to do statistics.
| static |
Return a shared pointer to a new instance.
| protectedvirtual |
Node factory.
Reimplemented from hpp::core::Roadmap.
| graph::StatePtr_t hpp::manipulation::Roadmap::getState | ( | RoadmapNodePtr_t | node | ) |
Get graph state corresponding to given roadmap node.
| protectedvirtual |
Reimplemented from hpp::core::Roadmap.
| inlineprotected |
| void hpp::manipulation::Roadmap::insertHistogram | ( | const graph::HistogramPtr_t | hist | ) |
Register histogram so that each time a node is added to the roadmap, it is also added to the histogram
| inline |
Get leaf connected components
Leaf connected components are composed of nodes
| void hpp::manipulation::Roadmap::merge | ( | const LeafConnectedCompPtr_t & | cc1, |
| LeafConnectedComp::LeafConnectedComps_t & | ccs ) |
Merge two connected components
| cc1 | the connected component to merge into |
| the | connected components to merge into cc1. |
| RoadmapNodePtr_t hpp::manipulation::Roadmap::nearestNodeInState | ( | ConfigurationIn_t | configuration, |
| const ConnectedComponentPtr_t & | connectedComponent, | ||
| const graph::StatePtr_t & | state, | ||
| value_type & | minDistance ) const |
Get the nearest neighbor in a given graph::Node and in a given ConnectedComponent.
| virtual |
Catch event 'New node added'.
Reimplemented from hpp::core::Roadmap.
| protected |
Register a new configuration.