#include <CosineDistance.h>

Public Member Functions

 CosineDistance ()
 
 ~CosineDistance ()
 
double distance (const std::vector< double > &v1, const std::vector< double > &v2)
 

Protected Attributes

double dist
 
double dDenTot
 
double dDen1
 
double dDen2
 
double dSum1
 

Detailed Description

Definition at line 21 of file CosineDistance.h.

Constructor & Destructor Documentation

CosineDistance::CosineDistance ( )
inline

Definition at line 24 of file CosineDistance.h.

CosineDistance::~CosineDistance ( )
inline

Definition at line 25 of file CosineDistance.h.

References distance().

Member Function Documentation

double CosineDistance::distance ( const std::vector< double > &  v1,
const std::vector< double > &  v2 
)

Definition at line 24 of file CosineDistance.cpp.

References dDen1, dDen2, dDenTot, dist, and dSum1.

Referenced by BeatSpectrum::process(), and ~CosineDistance().

Member Data Documentation

double CosineDistance::dist
protected

Definition at line 31 of file CosineDistance.h.

Referenced by distance().

double CosineDistance::dDenTot
protected

Definition at line 31 of file CosineDistance.h.

Referenced by distance().

double CosineDistance::dDen1
protected

Definition at line 31 of file CosineDistance.h.

Referenced by distance().

double CosineDistance::dDen2
protected

Definition at line 31 of file CosineDistance.h.

Referenced by distance().

double CosineDistance::dSum1
protected

Definition at line 31 of file CosineDistance.h.

Referenced by distance().


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