CSimpleDistance< ST > Class Template Reference

Inheritance diagram for CSimpleDistance< ST >:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 CSimpleDistance ()
virtual bool init (CFeatures *l, CFeatures *r)
virtual EFeatureClass get_feature_class ()
virtual EFeatureType get_feature_type ()
template<>
EFeatureType get_feature_type ()
template<>
EFeatureType get_feature_type ()
template<>
EFeatureType get_feature_type ()
template<>
EFeatureType get_feature_type ()
template<>
EFeatureType get_feature_type ()
template<>
EFeatureType get_feature_type ()


Detailed Description

template<class ST>
class CSimpleDistance< ST >

template class SimpleDistance

Definition at line 19 of file SimpleDistance.h.


Constructor & Destructor Documentation

template<class ST>
CSimpleDistance< ST >::CSimpleDistance (  ) 

default constructor

Definition at line 23 of file SimpleDistance.h.


Member Function Documentation

template<class ST>
virtual EFeatureClass CSimpleDistance< ST >::get_feature_class (  )  [virtual]

get feature class the distance can deal with

Returns:
feature class SIMPLE

Implements CDistance.

Definition at line 54 of file SimpleDistance.h.

template<>
EFeatureType CSimpleDistance< char >::get_feature_type (  )  [virtual]

get feature type the CHAR distance can deal with

Returns:
feature type CHAR

Implements CDistance.

Definition at line 103 of file SimpleDistance.h.

template<>
EFeatureType CSimpleDistance< uint8_t >::get_feature_type (  )  [virtual]

get feature type the BYTE distance can deal with

Returns:
feature type BYTE

Implements CDistance.

Definition at line 97 of file SimpleDistance.h.

template<>
EFeatureType CSimpleDistance< int16_t >::get_feature_type (  )  [virtual]

get feature type the SHORT distance can deal with

Returns:
feature type SHORT

Implements CDistance.

Definition at line 91 of file SimpleDistance.h.

template<>
EFeatureType CSimpleDistance< uint16_t >::get_feature_type (  )  [virtual]

get feature type the WORD distance can deal with

Returns:
feature type WORD

Implements CDistance.

Definition at line 85 of file SimpleDistance.h.

template<>
EFeatureType CSimpleDistance< int32_t >::get_feature_type (  )  [virtual]

get feature type the INT distance can deal with

Returns:
feature type INT

Implements CDistance.

Definition at line 79 of file SimpleDistance.h.

template<>
EFeatureType CSimpleDistance< uint64_t >::get_feature_type (  )  [virtual]

get feature type the ULONG distance can deal with

Returns:
feature type ULONG

Implements CDistance.

Definition at line 73 of file SimpleDistance.h.

template<class ST>
virtual EFeatureType CSimpleDistance< ST >::get_feature_type (  )  [virtual]

get feature type the distance can deal with

Returns:
template-specific feature type

Implements CDistance.

Reimplemented in CEuclidianDistance, and CRealDistance.

template<class ST>
virtual bool CSimpleDistance< ST >::init ( CFeatures l,
CFeatures r 
) [virtual]

init distance

Parameters:
l features of left-hand side
r features of right-hand side
Returns:
if init was successful

Reimplemented from CDistance.

Reimplemented in CBrayCurtisDistance, CCanberraMetric, CChebyshewMetric, CChiSquareDistance, CCosineDistance, CEuclidianDistance, CGeodesicMetric, CJensenMetric, CManhattanMetric, CMinkowskiMetric, CRealDistance, and CTanimotoDistance.

Definition at line 31 of file SimpleDistance.h.


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

SHOGUN Machine Learning Toolbox - Documentation