hpp-manipulation  4.9.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 Types inherited from hpp::statistics::Statistics< NodeBin >
typedef std::list< NodeBin > Container
 
typedef std::list< NodeBin > Container
 
typedef std::list< NodeBin > Container
 
typedef std::list< NodeBin > Container
 
typedef Container::iterator iterator
 
typedef Container::iterator iterator
 
typedef Container::iterator iterator
 
typedef Container::iterator iterator
 
typedef Container::const_iterator const_iterator
 
typedef Container::const_iterator const_iterator
 
typedef Container::const_iterator const_iterator
 
typedef Container::const_iterator const_iterator
 

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::statistics::Statistics< NodeBin >
virtual std::size_t freq (const NodeBin &bin) const
 
virtual std::size_t freq (const NodeBin &bin) const
 
virtual std::size_t freq (const NodeBin &bin) const
 
virtual std::size_t freq (const NodeBin &bin) const
 
virtual Proba_t relativeFreq (const NodeBin &bin) const
 
virtual Proba_t relativeFreq (const NodeBin &bin) const
 
virtual Proba_t relativeFreq (const NodeBin &bin) const
 
virtual Proba_t relativeFreq (const NodeBin &bin) const
 
std::size_t numberOfObservations () const
 
std::size_t numberOfObservations () const
 
std::size_t numberOfObservations () const
 
std::size_t numberOfObservations () const
 
unsigned int numberOfBins () const
 
unsigned int numberOfBins () const
 
unsigned int numberOfBins () const
 
unsigned int numberOfBins () const
 
const_iterator find (const NodeBin &bin) const
 
const_iterator find (const U &value) const
 
const_iterator find (const NodeBin &bin) const
 
const_iterator find (const U &value) const
 
const_iterator find (const NodeBin &bin) const
 
const_iterator find (const U &value) const
 
const_iterator find (const NodeBin &bin) const
 
const_iterator find (const U &value) const
 
const_iterator begin () const
 
const_iterator begin () const
 
const_iterator begin () const
 
const_iterator begin () const
 
const_iterator end () const
 
const_iterator end () const
 
const_iterator end () const
 
const_iterator end () const
 
void clear ()
 
void clear ()
 
void clear ()
 
void clear ()
 
- Public Member Functions inherited from hpp::manipulation::graph::Histogram
virtual ~Histogram ()
 

Additional Inherited Members

- Protected Member Functions inherited from hpp::statistics::Statistics< NodeBin >
 Statistics ()
 
 Statistics ()
 
 Statistics ()
 
 Statistics ()
 
virtual NodeBin & increment (const NodeBin &bin) __attribute__((deprecated))
 
virtual NodeBin & increment (const NodeBin &bin) __attribute__((deprecated))
 
virtual NodeBin & increment (const NodeBin &bin) __attribute__((deprecated))
 
virtual NodeBin & increment (const NodeBin &bin) __attribute__((deprecated))
 
virtual iterator insert (const NodeBin &bin)
 
virtual iterator insert (const NodeBin &bin)
 
virtual iterator insert (const NodeBin &bin)
 
virtual iterator insert (const NodeBin &bin)
 

Member Typedef Documentation

◆ 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
virtual

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