Marsyas  0.5.0-beta1
Public Member Functions
Metric2 Class Reference

Computes metrics (e.g. euclidean, mahalanobis, cosine, etc) between two realvecs. More...

#include <Metric2.h>

Inherits MarSystem.

Public Member Functions

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

Detailed Description

Computes metrics (e.g. euclidean, mahalanobis, cosine, etc) between two realvecs.

Controls:

Definition at line 34 of file Metric2.h.


Constructor & Destructor Documentation

Metric2 ( std::string  name)

Definition at line 29 of file Metric2.cpp.

Metric2 ( const Metric2 a)

Definition at line 34 of file Metric2.cpp.

~Metric2 ( )

Definition at line 40 of file Metric2.cpp.


Member Function Documentation

MarSystem * clone ( ) const [virtual]

Implements MarSystem.

Definition at line 46 of file Metric2.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 106 of file Metric2.cpp.


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