Marsyas  0.5.0-beta1
Public Member Functions
TempoHypotheses Class Reference

Organizes a NN x 3 matrix given NN = N x M raw {period, phase, periodSalience} hypotheses. (if no periods were retrieved some manually defined periods will be assumed) More...

#include <TempoHypotheses.h>

Inherits MarSystem.

Public Member Functions

MarSystemclone () const
void myProcess (realvec &in, realvec &out)
 Processes data.
 TempoHypotheses (std::string name)
 TempoHypotheses (const TempoHypotheses &a)
 ~TempoHypotheses ()

Detailed Description

Organizes a NN x 3 matrix given NN = N x M raw {period, phase, periodSalience} hypotheses. (if no periods were retrieved some manually defined periods will be assumed)

Input: N period and M phase hypotheses retrieved from the analysis of the initial induction window:

[x|Phasei|x|Phasei+1| ... |x|PhaseM] [PeriodSaliencei|Periodi|PeriodSaliencei+1|Periodi+1| ... |PeriodSalienceN|PeriodN]

Output: (NxM) x 3 matrix with M phases for each of the N predicted periods:

[ periodi | phasej | periodSaliencei ] | periodi | phasej+1 | periodSaliencei | | ... | ... | ... | | periodi | phaseM | periodSaliencei | | periodi+1 | phasej | periodSaliencei+1 | | periodi+1 | phasej+1 | periodSaliencei+1 | | ... | ... | ... | | periodN | phasej | periodSalienceN | | ... | ... | ... | [ periodN | phaseM ] periodSalienceN ]

Controls:

Definition at line 60 of file TempoHypotheses.h.


Constructor & Destructor Documentation

TempoHypotheses ( std::string  name)

Definition at line 25 of file TempoHypotheses.cpp.

Definition at line 33 of file TempoHypotheses.cpp.

Definition at line 57 of file TempoHypotheses.cpp.


Member Function Documentation

MarSystem * clone ( ) const [virtual]

Implements MarSystem.

Definition at line 62 of file TempoHypotheses.cpp.

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

Processes data.

Parameters:
inInput data to read.
outOutput data to write.

Implement this method in subclass to define specific data processing.

Implements MarSystem.

Definition at line 116 of file TempoHypotheses.cpp.


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