28 #include "WHistogram.h"
33 m_nbBuckets( buckets )
40 WAssert( buckets > 0,
"Error: A histogram with a size of 0 does not make any sense." );
44 m_minimum( hist.m_minimum ),
45 m_maximum( hist.m_maximum ),
46 m_nbBuckets( hist.m_nbBuckets )
double m_minimum
The smallest value.
double m_nbBuckets
The number of buckets.
virtual double getMinimum() const
Returns the minimum value.
virtual double getMaximum() const
Returns the maximum value.
virtual ~WHistogram()
Default destructor.
Container which associate values with (uniform width) bins (aka intervals or buckets).
WHistogram(double min, double max, size_t buckets=1000)
Default constructor.
virtual size_t size() const
Returns the number of buckets in the histogram with the actual mapping.
double m_maximum
The biggest value.