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 Member Functions

 LeafHistogram (const ConstraintSetPtr_t &constraint)
 Constructor. More...
 
void add (const core::NodePtr_t &n)
 Insert an occurence of a value in the histogram. More...
 
std::ostream & print (std::ostream &os) const
 
const ConstraintSetPtr_tconstraint () const
 
virtual HistogramPtr_t clone () const
 
statistics::DiscreteDistribution< core::NodePtr_t > getDistribOutOfConnectedComponent (const core::ConnectedComponentPtr_t &cc) const
 

Member Typedef Documentation

◆ Parent

typedef ::hpp::statistics::Statistics< LeafBin > hpp::manipulation::graph::LeafHistogram::Parent

Constructor & Destructor Documentation

◆ LeafHistogram()

hpp::manipulation::graph::LeafHistogram::LeafHistogram ( const ConstraintSetPtr_t constraint)

Constructor.

Parameters
constraintThe constraint that create the foliation being studied.

Member Function Documentation

◆ add()

void hpp::manipulation::graph::LeafHistogram::add ( const core::NodePtr_t &  n)
virtual

Insert an occurence of a value in the histogram.

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

◆ clone()

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

◆ constraint()

const ConstraintSetPtr_t& hpp::manipulation::graph::LeafHistogram::constraint ( ) const

◆ getDistribOutOfConnectedComponent()

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

◆ print()

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