RSC
0.17.1
|
Defines interface for vector metrics providing a calc-method that calculates the metric of two vectors. More...
#include <SequenceMonitor.h>
Public Member Functions | |
virtual | ~Metric () |
virtual double | calc (const double *v1, const double *v2, const unsigned int &dim)=0 |
Calculates the distance between v1 and v2. More... | |
Defines interface for vector metrics providing a calc-method that calculates the metric of two vectors.
Definition at line 53 of file SequenceMonitor.h.
|
virtual |
Definition at line 34 of file SequenceMonitor.cpp.
|
pure virtual |
Calculates the distance between v1 and v2.
v1 | vector |
v2 | another vector |
Implemented in rsc::math::MaximumDist, and rsc::math::EuclidDist.