Marsyas
0.6.0-alpha
|
Combine observations by summing, multiplying, or picking largest or smallest of their respective sample values. More...
#include <Combinator.h>
Inherits MarSystem.
Public Member Functions | |
MarSystem * | clone () 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. |
Combine observations by summing, multiplying, or picking largest or smallest of their respective sample values.
Controls:
Definition at line 37 of file Combinator.h.
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.
Implementation of the MarSystem::clone() method.
Implements MarSystem.
Definition at line 78 of file Combinator.cpp.
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.