Marsyas  0.5.0-beta1
Public Member Functions
Combinator Class Reference

Combine observations by summing, multiplying, or picking largest or smallest of their respective sample values. More...

#include <Combinator.h>

Inherits MarSystem.

Public Member Functions

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

Detailed Description

Combine observations by summing, multiplying, or picking largest or smallest of their respective sample values.

Controls:

Definition at line 37 of file Combinator.h.


Constructor & Destructor Documentation

Combinator ( std::string  name)

Combinator constructor.

Add any specific controls needed by this MarSystem.

Definition at line 50 of file Combinator.cpp.

Combinator ( const Combinator a)

Combinator copy constructor.

All member MarControlPtr have to be explicitly reassigned in the copy constructor.

Definition at line 61 of file Combinator.cpp.

~Combinator ( )

Combinator destructor.

Definition at line 73 of file Combinator.cpp.


Member Function Documentation

MarSystem * clone ( ) const [virtual]

Implementation of the MarSystem::clone() method.

Implements MarSystem.

Definition at line 78 of file Combinator.cpp.

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

Implementation of the MarSystem::myProcess method.

Iterate over the observations and samples and do the combination.

Implements MarSystem.

Definition at line 115 of file Combinator.cpp.


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