Equidistant histogram for integers. More...
#include <chistogram.h>
Public Member Functions | |
Constructors, destructor, assignment. | |
cLongHistogram (const cLongHistogram &r) | |
cLongHistogram (const char *name=NULL, int numcells=-1) | |
virtual | ~cLongHistogram () |
cLongHistogram & | operator= (const cLongHistogram &other) |
Redefined cObject member functions. | |
virtual cLongHistogram * | dup () const |
Redefined member functions from cStatistic and its subclasses. | |
virtual void | collect (double value) |
virtual void | collect (SimTime value) |
Equidistant histogram for integers.
This class is just a cHistogram preconfigured for collecting integers (MODE_INTEGERS).
virtual void cLongHistogram::collect | ( | double | value | ) | [inline, virtual] |
Collects one value.
Internally, the double value is converted to an integer using floor() before any processing.
Reimplemented from cDensityEstBase.
References cDensityEstBase::collect().
virtual cLongHistogram* cLongHistogram::dup | ( | ) | const [inline, virtual] |