Marsyas  0.5.0-beta1
Public Member Functions
Metric Class Reference

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

#include <Metric.h>

Inherits MarSystem.

Public Member Functions

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

Detailed Description

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

Controls:

Definition at line 34 of file Metric.h.


Constructor & Destructor Documentation

Metric ( std::string  name)

Definition at line 34 of file Metric.cpp.

Metric ( const Metric a)

Definition at line 39 of file Metric.cpp.

~Metric ( )

Definition at line 45 of file Metric.cpp.


Member Function Documentation

MarSystem * clone ( ) const [virtual]

Implements MarSystem.

Definition at line 51 of file Metric.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 111 of file Metric.cpp.


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