CStringDistance< ST > Class Template Reference

Inheritance diagram for CStringDistance< ST >:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 CStringDistance ()
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 CStringDistance< ST >

template class StringDistance

Definition at line 18 of file StringDistance.h.


Constructor & Destructor Documentation

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

default constructor

Definition at line 22 of file StringDistance.h.


Member Function Documentation

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

get feature class the distance can deal with

Returns:
feature class STRING

Implements CDistance.

Definition at line 48 of file StringDistance.h.

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

get feature type the CHAR distance can deal with

Returns:
feature type CHAR

Implements CDistance.

Definition at line 97 of file StringDistance.h.

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

get feature type the BYTE distance can deal with

Returns:
feature type BYTE

Implements CDistance.

Definition at line 91 of file StringDistance.h.

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

get feature type the SHORT distance can deal with

Returns:
feature type SHORT

Implements CDistance.

Definition at line 85 of file StringDistance.h.

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

get feature type the INT distance can deal with

Returns:
feature type INT

Implements CDistance.

Definition at line 73 of file StringDistance.h.

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

get feature type the ULONG distance can deal with

Returns:
feature type ULONG

Implements CDistance.

Definition at line 67 of file StringDistance.h.

template<>
EFeatureType CStringDistance< float64_t >::get_feature_type (  )  [virtual]

get feature type the DREAL distance can deal with

Returns:
feature type DREAL

Implements CDistance.

Definition at line 61 of file StringDistance.h.

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

get feature type the distance can deal with

Returns:
template-specific feature type

Implements CDistance.

template<class ST>
virtual bool CStringDistance< 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 CCanberraWordDistance, CHammingWordDistance, and CManhattanWordDistance.

Definition at line 33 of file StringDistance.h.


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

SHOGUN Machine Learning Toolbox - Documentation