CSparseDistance< ST > Class Template Reference


Detailed Description

template<class ST>
class shogun::CSparseDistance< ST >

template class SparseDistance

Definition at line 20 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 ()
template<>
EFeatureType get_feature_type ()

Constructor & Destructor Documentation

CSparseDistance (  ) 

default constructor

Definition at line 24 of file SparseDistance.h.


Member Function Documentation

virtual EFeatureClass get_feature_class (  )  [virtual]

get feature class the distance can deal with

Returns:
feature class SPARSE

Implements CDistance.

Definition at line 53 of file SparseDistance.h.

EFeatureType get_feature_type (  )  [virtual]

get feature type the CHAR distance can deal with

Returns:
feature type CHAR

Implements CDistance.

Definition at line 102 of file SparseDistance.h.

EFeatureType get_feature_type (  )  [virtual]

get feature type the BYTE distance can deal with

Returns:
feature type BYTE

Implements CDistance.

Definition at line 96 of file SparseDistance.h.

EFeatureType get_feature_type (  )  [virtual]

get feature type the SHORT distance can deal with

Returns:
feature type SHORT

Implements CDistance.

Definition at line 90 of file SparseDistance.h.

EFeatureType get_feature_type (  )  [virtual]

get feature type the WORD distance can deal with

Returns:
feature type WORD

Implements CDistance.

Definition at line 84 of file SparseDistance.h.

EFeatureType get_feature_type (  )  [virtual]

get feature type the INT distance can deal with

Returns:
feature type INT

Implements CDistance.

Definition at line 78 of file SparseDistance.h.

EFeatureType get_feature_type (  )  [virtual]

get feature type the ULONG distance can deal with

Returns:
feature type ULONG

Implements CDistance.

Definition at line 72 of file SparseDistance.h.

EFeatureType get_feature_type (  )  [virtual]

get feature type the DREAL distance can deal with

Returns:
feature type DREAL

Implements CDistance.

Definition at line 66 of file SparseDistance.h.

virtual EFeatureType get_feature_type (  )  [virtual]

get feature type the distance can deal with

Returns:
template-specific feature type

Implements CDistance.

Reimplemented in CSparseEuclidianDistance.

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 CSparseEuclidianDistance.

Definition at line 32 of file SparseDistance.h.


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

SHOGUN Machine Learning Toolbox - Documentation