Extension of hpp::core::Roadmap. More...
#include <hpp/manipulation/roadmap.hh>
Public Types | |
typedef core::Roadmap | Parent |
Public Member Functions | |
void | statAddFoliation (ConstraintSetPtr_t constraint) |
Add a ConstraintSet that creates a foliation. | |
void | 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. | |
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'. | |
Static Public Member Functions | |
static RoadmapPtr_t | create (const core::DistancePtr_t &distance, const core::DevicePtr_t &robot) |
Return a shared pointer to a new instance. | |
Protected Member Functions | |
void | statInsert (const core::NodePtr_t &n) |
Register a new configuration. | |
Roadmap (const core::DistancePtr_t &distance, const core::DevicePtr_t &robot) | |
Constructor. |
Extension of hpp::core::Roadmap.
It adds the ability of doing statistics on the graph
hpp::manipulation::Roadmap::Roadmap | ( | const core::DistancePtr_t & | distance, |
const core::DevicePtr_t & | robot | ||
) | [protected] |
Constructor.
Reimplemented from hpp::core::Roadmap.
void hpp::manipulation::Roadmap::clear | ( | ) | [virtual] |
Clear the histograms and call parent implementation.
Reimplemented from hpp::core::Roadmap.
void hpp::manipulation::Roadmap::constraintGraph | ( | const graph::GraphPtr_t & | graph | ) |
Register the constraint graph to do statistics.
static RoadmapPtr_t hpp::manipulation::Roadmap::create | ( | const core::DistancePtr_t & | distance, |
const core::DevicePtr_t & | robot | ||
) | [static] |
Return a shared pointer to a new instance.
Reimplemented from hpp::core::Roadmap.
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.
void hpp::manipulation::Roadmap::push_node | ( | const core::NodePtr_t & | n | ) | [virtual] |
Catch event 'New node added'.
Reimplemented from hpp::core::Roadmap.
void hpp::manipulation::Roadmap::statAddFoliation | ( | ConstraintSetPtr_t | constraint | ) |
Add a ConstraintSet that creates a foliation.
void hpp::manipulation::Roadmap::statInsert | ( | const core::NodePtr_t & | n | ) | [protected] |
Register a new configuration.