hpp-manipulation 7.0.0
Classes for manipulation planning.
Loading...
Searching...
No Matches
hpp::manipulation::graph::LeafHistogram Class Reference

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

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

Public Types

typedef ::hpp::statistics::Statistics< LeafBinParent
Public Types inherited from hpp::statistics::Statistics< LeafBin >
typedef std::list< T > Container
typedef Container::iterator iterator
typedef Container::const_iterator const_iterator

Public Member Functions

void add (const RoadmapNodePtr_t &n)
 Insert an occurence of a value in the histogram.
std::ostream & print (std::ostream &os) const
virtual HistogramPtr_t clone () const
core::ConnectedComponentPtr_t &cc) const
statistics::DiscreteDistribution< RoadmapNodePtr_tgetDistrib () const
void clear ()
const Foliationfoliation () const
Public Member Functions inherited from hpp::statistics::Statistics< LeafBin >
virtual std::size_t freq (const T &bin) const
virtual relativeFreq (const T &bin) const
std::size_t numberOfObservations () const
unsigned int numberOfBins () const
find (const T &bin) const
find (const U &value) const
begin () const
end () const
void clear ()
Public Member Functions inherited from hpp::manipulation::graph::Histogram
virtual ~Histogram ()

Static Public Member Functions

static LeafHistogramPtr_t create (const Foliation f)

Protected Member Functions

 LeafHistogram (const Foliation f)
Protected Member Functions inherited from hpp::statistics::Statistics< LeafBin >
 Statistics ()
virtual T & increment (const T &bin) __attribute__((deprecated))
virtual insert (const T &bin)

Member Typedef Documentation

◆ Parent

Constructor & Destructor Documentation

◆ LeafHistogram()

hpp::manipulation::graph::LeafHistogram::LeafHistogram(const Foliationf)
protected

Constructor

Parameters
statedefines the submanifold containing the foliation.
constraintThe constraint that create the foliation being studied.

Member Function Documentation

◆ add()

void hpp::manipulation::graph::LeafHistogram::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::LeafHistogram::clear()
inlinevirtual

◆ clone()

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

◆ create()

LeafHistogramPtr_t hpp::manipulation::graph::LeafHistogram::create(const Foliationf)
static

◆ foliation()

const Foliation & hpp::manipulation::graph::LeafHistogram::foliation()const
inline

◆ getDistrib()

statistics::DiscreteDistribution< RoadmapNodePtr_t > hpp::manipulation::graph::LeafHistogram::getDistrib()const

◆ getDistribOutOfConnectedComponent()

statistics::DiscreteDistribution< RoadmapNodePtr_t > hpp::manipulation::graph::LeafHistogram::getDistribOutOfConnectedComponent(const core::ConnectedComponentPtr_t &cc)const

◆ print()

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

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