A.I.M.S algorithms


aims::Distance< T > Class Template Reference

#include <aims/classification/distance.h>

Public Member Functions

 Distance ()
 
 ~Distance ()
 

Static Public Member Functions

static float norm1 (const std::vector< T > &ind1, const std::vector< T > &ind2, unsigned int beginIndex, unsigned int endIndex)
 
static float norm2 (const std::vector< T > &ind1, const std::vector< T > &ind2, unsigned int beginIndex, unsigned int endIndex)
 
static float norm2sqr (const std::vector< T > &ind1, const std::vector< T > &ind2, unsigned int beginIndex, unsigned int endIndex)
 
static float infiniteNorm (const std::vector< T > &ind1, const std::vector< T > &ind2, unsigned int beginIndex, unsigned int endIndex)
 

Detailed Description

template<class T>
class aims::Distance< T >

Definition at line 44 of file distance.h.

Constructor & Destructor Documentation

template<class T >
aims::Distance< T >::Distance ( )

Definition at line 44 of file distance_d.h.

template<class T >
aims::Distance< T >::~Distance ( )

Definition at line 49 of file distance_d.h.

Member Function Documentation

template<class T >
float aims::Distance< T >::infiniteNorm ( const std::vector< T > &  ind1,
const std::vector< T > &  ind2,
unsigned int  beginIndex,
unsigned int  endIndex 
)
static

Definition at line 102 of file distance_d.h.

References ASSERT.

template<class T >
float aims::Distance< T >::norm1 ( const std::vector< T > &  ind1,
const std::vector< T > &  ind2,
unsigned int  beginIndex,
unsigned int  endIndex 
)
static

Definition at line 54 of file distance_d.h.

References ASSERT.

template<class T >
float aims::Distance< T >::norm2 ( const std::vector< T > &  ind1,
const std::vector< T > &  ind2,
unsigned int  beginIndex,
unsigned int  endIndex 
)
static

Definition at line 70 of file distance_d.h.

References ASSERT.

template<class T >
float aims::Distance< T >::norm2sqr ( const std::vector< T > &  ind1,
const std::vector< T > &  ind2,
unsigned int  beginIndex,
unsigned int  endIndex 
)
static

Definition at line 86 of file distance_d.h.

References ASSERT.


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