CSparseDistance< ST > Class Template Reference


Detailed Description

template<class ST>
class CSparseDistance< ST >

template class SparseDistance

Definition at line 18 of file SparseDistance.h.

Inheritance diagram for CSparseDistance< ST >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 CSparseDistance ()
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 ()

Constructor & Destructor Documentation

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

default constructor

Definition at line 22 of file SparseDistance.h.


Member Function Documentation

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

get feature class the distance can deal with

Returns:
feature class SPARSE

Implements CDistance.

Definition at line 51 of file SparseDistance.h.

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

get feature type the CHAR distance can deal with

Returns:
feature type CHAR

Implements CDistance.

Definition at line 100 of file SparseDistance.h.

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

get feature type the BYTE distance can deal with

Returns:
feature type BYTE

Implements CDistance.

Definition at line 94 of file SparseDistance.h.

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

get feature type the SHORT distance can deal with

Returns:
feature type SHORT

Implements CDistance.

Definition at line 88 of file SparseDistance.h.

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

get feature type the WORD distance can deal with

Returns:
feature type WORD

Implements CDistance.

Definition at line 82 of file SparseDistance.h.

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

get feature type the INT distance can deal with

Returns:
feature type INT

Implements CDistance.

Definition at line 76 of file SparseDistance.h.

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

get feature type the ULONG distance can deal with

Returns:
feature type ULONG

Implements CDistance.

Definition at line 70 of file SparseDistance.h.

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

get feature type the distance can deal with

Returns:
template-specific feature type

Implements CDistance.

Reimplemented in CSparseEuclidianDistance.

template<class ST>
virtual bool CSparseDistance< 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 CSparseEuclidianDistance.

Definition at line 30 of file SparseDistance.h.


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

SHOGUN Machine Learning Toolbox - Documentation