#include <Histogram.h>
Inheritance diagram for InfiniteHistogramBin< T >:
Public Member Functions | |
InfiniteHistogramBin (const InfiniteHistogramBin< T > &toCopy) | |
InfiniteHistogramBin (const T &bound, bool positive) | |
Create a new InfiniteHistogramBin. | |
InfiniteHistogramBin (const T &bound, bool positive, bool incl) | |
Create a new InfiniteHistogramBin. | |
virtual InfiniteHistogramBin< T > * | clone (void) const |
virtual bool | isInBin (const T &value) const |
Check whether an item belongs in this bin. | |
virtual std::string | toString (void) const |
virtual double | getValue (void) const |
return the 'count' of items in the bin | |
virtual void | addValue (const T &value) throw ( ValueOutOfRangeException ) |
Add a value to the bin. | |
virtual void | clear (void) |
Clear the value of the bin. | |
Protected Attributes | |
T | lowerBound |
bool | lowerInclusive |
T | upperBound |
bool | upperInclusive |
double | binValue |
double | increment |
|
Create a new InfiniteHistogramBin.
|
|
Create a new InfiniteHistogramBin. Overrides the default behaviour of inclusiveness. |
|
Add a value to the bin.
|
|
return the 'count' of items in the bin
|