cADByStddev Class Reference
[Statistical data collection]

An algorithm for result accuracy detection. More...

#include <cdetect.h>

Inheritance diagram for cADByStddev:
cAccuracyDetection cOwnedObject cNamedObject cObject

List of all members.

Public Member Functions

Constructors, destructor, assignment.

 cADByStddev (const cADByStddev &r)
 cADByStddev (const char *name=NULL, double acc=0.01, int reps=3, PostADFunc f=NULL, void *p=NULL)
virtual ~cADByStddev ()
cADByStddevoperator= (const cADByStddev &res)
Redefined cObject member functions.

virtual cADByStddevdup () const
Redefined cAccuracyDetection functions.

virtual void collect (double val)
virtual bool detected () const
virtual void reset ()
virtual void stop ()
virtual void start ()
Setting up the detection object.

void setParameters (double acc=0.1, int reps=3)

Detailed Description

An algorithm for result accuracy detection.

The actual algorithm: divide the standard deviation by the square of the number of values and check if this is small enough.


Member Function Documentation

virtual cADByStddev* cADByStddev::dup (  )  const [inline, virtual]

Dupping is not implemented for this class.

This function gives an error (throws cRuntimeError) when called.

Reimplemented from cAccuracyDetection.

cADByStddev& cADByStddev::operator= ( const cADByStddev res  ) 

Assignment operator.

The name member is not copied; see cOwnedObject's operator=() for more details.


The documentation for this class was generated from the following file:
Generated on Tue Dec 2 11:16:28 2014 for OMNeT++ Simulation Library by  doxygen 1.6.3