hpp-manipulation  6.0.0
Classes for manipulation planning.
hpp::manipulation::graph::StateHistogram Class Reference

#include <hpp/manipulation/graph/statistics.hh>

Inheritance diagram for hpp::manipulation::graph::StateHistogram:
Collaboration diagram for hpp::manipulation::graph::StateHistogram:

Public Types

typedef ::hpp::statistics::Statistics< NodeBinParent
 

Public Member Functions

 StateHistogram (const graph::GraphPtr_t &graph)
 
void add (const RoadmapNodePtr_t &n)
 Insert an occurence of a value in the histogram. More...
 
std::ostream & print (std::ostream &os) const
 
const graph::GraphPtr_tconstraintGraph () const
 
virtual HistogramPtr_t clone () const
 
void clear ()
 
- Public Member Functions inherited from hpp::manipulation::graph::Histogram
virtual ~Histogram ()
 

Member Typedef Documentation

◆ Parent

typedef ::hpp::statistics::Statistics<NodeBin> hpp::manipulation::graph::StateHistogram::Parent

Constructor & Destructor Documentation

◆ StateHistogram()

hpp::manipulation::graph::StateHistogram::StateHistogram ( const graph::GraphPtr_t graph)

Constructor

Parameters
graphThe constraint graph used to get the states from a configuration.

Member Function Documentation

◆ add()

void hpp::manipulation::graph::StateHistogram::add ( const RoadmapNodePtr_t n)
virtual

Insert an occurence of a value in the histogram.

Implements hpp::manipulation::graph::Histogram.

◆ clear()

void hpp::manipulation::graph::StateHistogram::clear ( )
inlinevirtual

◆ clone()

virtual HistogramPtr_t hpp::manipulation::graph::StateHistogram::clone ( ) const
virtual

◆ constraintGraph()

const graph::GraphPtr_t& hpp::manipulation::graph::StateHistogram::constraintGraph ( ) const

◆ print()

std::ostream& hpp::manipulation::graph::StateHistogram::print ( std::ostream &  os) const

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