MeanAbsoluteDeviation Class Reference
[Analysis]

Calculates the mean absolute deviation. More...

#include <MeanAbsoluteDeviation.h>

Inherits Marsyas::MarSystem.


Public Member Functions

MarSystemclone () const
 Implementation of the MarSystem::clone() method.
 MeanAbsoluteDeviation (const MeanAbsoluteDeviation &a)
 MeanAbsoluteDeviation copy constructor.
 MeanAbsoluteDeviation (std::string name)
 MeanAbsoluteDeviation constructor.
void myProcess (realvec &in, realvec &out)
 Implementation of the MarSystem::myProcess method.
 ~MeanAbsoluteDeviation ()
 MeanAbsoluteDeviation destructor.

Private Member Functions

void addControls ()
 Add specific controls needed by this MarSystem.
void myUpdate (MarControlPtr sender)
 Reads changed controls and sets up variables if necessary.


Detailed Description

Calculates the mean absolute deviation.

Definition at line 33 of file MeanAbsoluteDeviation.h.


Constructor & Destructor Documentation

MeanAbsoluteDeviation ( std::string  name  ) 

MeanAbsoluteDeviation constructor.

Add any specific controls needed by this MarSystem.

Definition at line 25 of file MeanAbsoluteDeviation.cpp.

References MeanAbsoluteDeviation::addControls().

Referenced by MeanAbsoluteDeviation::clone().


Member Function Documentation

void myProcess ( realvec in,
realvec out 
) [virtual]

Implementation of the MarSystem::myProcess method.

Iterate over the observations and samples and do the processing.

Implements MarSystem.

Definition at line 68 of file MeanAbsoluteDeviation.cpp.

void myUpdate ( MarControlPtr  sender  )  [private, virtual]

Reads changed controls and sets up variables if necessary.

Use the default MarSystem setup with equal input/output stream format.

Reimplemented from MarSystem.

Definition at line 52 of file MeanAbsoluteDeviation.cpp.

References Marsyas::obsNamesAddPrefix().


The documentation for this class was generated from the following files:

Generated on Wed May 23 00:02:23 2012 for Marsyas by  doxygen 1.5.6