#include <cstat.h>
Inheritance diagram for cWeightedStdDev::
Public Methods | |
Constructors, destructor, assignment. | |
cWeightedStdDev (const cWeightedStdDev &r) | |
cWeightedStdDev (const char *name=NULL) | |
virtual | ~cWeightedStdDev () |
cWeightedStdDev& | operator= (const cWeightedStdDev &res) |
Redefined cObject member functions. | |
virtual cObject* | dup () const |
virtual int | netPack () |
virtual int | netUnpack () |
Redefined cStatistic functions. | |
virtual void | collect (double val) |
virtual void | collect2 (double val, double weight) |
virtual void | clearResult () |
virtual double | weights () const |
virtual double | mean () const |
virtual double | variance () const |
virtual void | saveToFile (FILE *) const |
virtual void | loadFromFile (FILE *) |
|
Constructors, destructor, duplication and assignment. |
|
Constructors, destructor, duplication and assignment. |
|
Constructors, destructor, duplication and assignment. |
|
Clears the results collected so far. Reimplemented from cStdDev. |
|
Collects one value. Reimplemented from cStdDev. |
|
Collects one value with a given weight. Reimplemented from cStatistic. |
|
Creates and returns an exact copy of this object. See cObject for more details. Reimplemented from cStdDev. |
|
Reads the object data from a file, in the format written out by saveToFile(). Reimplemented from cStdDev. |
|
Returns the mean of the samples collected. Reimplemented from cStdDev. |
|
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 cStdDev. |
|
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 cStdDev. |
|
Assignment operator. The name member doesn't get copied; see cObject's operator=() for more details. |
|
Writes the contents of the object into a text file. Reimplemented from cStdDev. |
|
Returns the variance of the samples collected. Reimplemented from cStdDev. |
|
Returns the sum of weights of the samples collected. Reimplemented from cStdDev. |