#include <chist.h>
Inheritance diagram for cEqdHistogramBase:
Public Member Functions | |
Constructors, destructor, assignment. | |
cEqdHistogramBase (const cEqdHistogramBase &r) | |
cEqdHistogramBase (const char *name=NULL, int numcells=-1) | |
cEqdHistogramBase & | operator= (const cEqdHistogramBase &res) |
Redefined cObject member functions. | |
virtual void | netPack (cCommBuffer *buffer) |
virtual void | netUnpack (cCommBuffer *buffer) |
Redefined member functions from cStatistic and its subclasses. | |
virtual double | basepoint (int k) const |
virtual double | cell (int k) const |
virtual double | pdf (double x) const |
virtual double | cdf (double x) const |
virtual void | saveToFile (FILE *) const |
virtual void | loadFromFile (FILE *) |
Protected Member Functions | |
virtual void | collectTransformed (double val) |
virtual void | setupRange () |
|
Copy constructor.
|
|
Constructor.
|
|
Returns the kth cell boundary.
Implements cDensityEstBase. |
|
Returns the value of the Cumulated Density Function at a given x.
Implements cDensityEstBase. |
|
Returns the number of observations that fell into the kth histogram cell.
Implements cDensityEstBase. |
|
Called internally by collect(), this method collects a value after the histogram has been transformed.
Implements cDensityEstBase. |
|
Reads the object data from a file, in the format written out by saveToFile().
Reimplemented from cHistogramBase. |
|
Serializes the object into a PVM or MPI send buffer. Used by the simulation kernel for parallel execution. See cObject for more details. Reimplemented from cHistogramBase. |
|
Deserializes the object from a PVM or MPI receive buffer Used by the simulation kernel for parallel execution. See cObject for more details. Reimplemented from cHistogramBase. |
|
Assignment operator. The name member doesn't get copied; see cObject's operator=() for more details. |
|
Returns the value of the Probability Density Function at a given x.
Implements cDensityEstBase. |
|
Writes the contents of the object into a text file.
Reimplemented from cHistogramBase. |
|
Called internally by transform(), this method should determine and set up the histogram range. It also calculates the cell size. Reimplemented from cDensityEstBase. Reimplemented in cLongHistogram, and cDoubleHistogram. |