#include <cdetect.h>
Inheritance diagram for cAccuracyDetection::
Public Methods | |
Constructors, destructor, assignment. | |
cAccuracyDetection (const cAccuracyDetection &r) | |
cAccuracyDetection (const char *name=NULL) | |
virtual | ~cAccuracyDetection () |
cAccuracyDetection& | operator= (const cAccuracyDetection &) |
Redefined cObject member functions. | |
virtual int | netPack () |
virtual int | netUnpack () |
Pure virtual functions to define the interface. | |
virtual void | collect (double val)=0 |
virtual bool | detected () const=0 |
virtual void | reset ()=0 |
virtual void | stop ()=0 |
virtual void | start ()=0 |
Host object. | |
virtual void | setHostObject (cStatistic *ptr) |
virtual cStatistic* | hostObject () const |
|
Copy constructor. |
|
Constructor. |
|
Destructor. |
|
Should be redefined to update the detection algorithm with a value. Reimplemented in cADByStddev. |
|
Should be redefined to return true if required accuracy has been reached. Reimplemented in cADByStddev. |
|
Returns a pointer to the host object. |
|
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 cObject. |
|
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 cObject. |
|
Assignment is not supported by this class: this method throws a cException when called. |
|
Should be redefined to reset detection algorithm. Reimplemented in cADByStddev. |
|
Sets the host object. This is internally called by cStatistic's addTransientDetection() method. |
|
Should be redefined to start detection (further calls to collect() will update the detection algorithm). Reimplemented in cADByStddev. |
|
Should be redefined to stop detection (further calls to collect() should be ignored). Reimplemented in cADByStddev. |