ProbeMean Class Reference
[Probes]

Measures the long-term $ \overline{x} = E[x]$, $ \overline{x^2} = E^2[x^2]$ and $ \sigma^2 = E[(x-\overline{x})^2] $. More...

#include <probemean.h>

Inherits Probe.

Inheritance diagram for ProbeMean:

Inheritance graph
[legend]
Collaboration diagram for ProbeMean:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual void Reset (void)
 [internal] Reset the probe, clearing all its internal counters and starting a new output file.
virtual void Zap (double)
 [internal] Reset the probe, clearing all its internal counters. The meaning of the parameter is probe-dependant.
virtual void Observe (double value)
 Observe a value, actual use of the value is probe-dependant.
virtual void WriteToFile (double time)
 [internal] Write the probe statistics to the output file. It is called periodically by NePSing.

Detailed Description

Measures the long-term $ \overline{x} = E[x]$, $ \overline{x^2} = E^2[x^2]$ and $ \sigma^2 = E[(x-\overline{x})^2] $.

output file format:

[Time of the observation] TAB $\overline{x}$ TAB $\overline{x^2}$ TAB $\sigma^2$


The documentation for this class was generated from the following file:
Generated on Wed Dec 22 23:23:49 2004 for NePSing by doxygen 1.3.9.1 ---- Hosted by SourceForge.net Logo