Public Member Functions

CSimpleDistance< ST > Class Template Reference


Detailed Description

template<class ST>
class shogun::CSimpleDistance< ST >

template class SimpleDistance

Definition at line 21 of file SimpleDistance.h.

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 ()
template<>
EFeatureType get_feature_type ()

Constructor & Destructor Documentation

CSimpleDistance (  ) 

default constructor

Definition at line 25 of file SimpleDistance.h.


Member Function Documentation

virtual EFeatureClass get_feature_class (  )  [virtual]

get feature class the distance can deal with

Returns:
feature class SIMPLE

Implements CDistance.

Definition at line 56 of file SimpleDistance.h.

EFeatureType get_feature_type (  )  [virtual]

get feature type the CHAR distance can deal with

Returns:
feature type CHAR

Implements CDistance.

Definition at line 105 of file SimpleDistance.h.

EFeatureType get_feature_type (  )  [virtual]

get feature type the BYTE distance can deal with

Returns:
feature type BYTE

Implements CDistance.

Definition at line 99 of file SimpleDistance.h.

EFeatureType get_feature_type (  )  [virtual]

get feature type the DREAL distance can deal with

Returns:
feature type DREAL

Implements CDistance.

Definition at line 69 of file SimpleDistance.h.

EFeatureType get_feature_type (  )  [virtual]

get feature type the WORD distance can deal with

Returns:
feature type WORD

Implements CDistance.

Definition at line 87 of file SimpleDistance.h.

EFeatureType get_feature_type (  )  [virtual]

get feature type the INT distance can deal with

Returns:
feature type INT

Implements CDistance.

Definition at line 81 of file SimpleDistance.h.

EFeatureType get_feature_type (  )  [virtual]

get feature type the ULONG distance can deal with

Returns:
feature type ULONG

Implements CDistance.

Definition at line 75 of file SimpleDistance.h.

EFeatureType get_feature_type (  )  [virtual]

get feature type the SHORT distance can deal with

Returns:
feature type SHORT

Implements CDistance.

Definition at line 93 of file SimpleDistance.h.

virtual EFeatureType get_feature_type (  )  [virtual]

get feature type the distance can deal with

Returns:
template-specific feature type

Implements CDistance.

Reimplemented in CEuclidianDistance, and CRealDistance.

virtual bool 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 33 of file SimpleDistance.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

SHOGUN Machine Learning Toolbox - Documentation