SHOGUN v0.9.0
公有成员
CSimpleDistance< ST >模板类参考

详细描述

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

template class SimpleDistance

在文件SimpleDistance.h21行定义。

继承图,类CSimpleDistance< ST >
Inheritance graph
[图例]

所有成员的列表。

公有成员

 CSimpleDistance ()
virtual bool init (CFeatures *l, CFeatures *r)
virtual EFeatureClass get_feature_class ()
virtual EFeatureType get_feature_type ()
virtual const char * get_name (void) const
virtual void cleanup ()=0
virtual EDistanceType get_distance_type ()=0
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 ()

构造及析构函数文档

default constructor

在文件SimpleDistance.h25行定义。


成员函数文档

virtual void cleanup ( ) [pure virtual]
virtual EDistanceType get_distance_type ( ) [pure virtual]
virtual EFeatureClass get_feature_class ( ) [virtual]

get feature class the distance can deal with

返回:
feature class SIMPLE

实现了CDistance

在文件SimpleDistance.h56行定义。

EFeatureType get_feature_type ( ) [virtual]

get feature type the SHORT distance can deal with

返回:
feature type SHORT

实现了CDistance

在文件SimpleDistance.h115行定义。

EFeatureType get_feature_type ( ) [virtual]

get feature type the BYTE distance can deal with

返回:
feature type BYTE

实现了CDistance

在文件SimpleDistance.h121行定义。

EFeatureType get_feature_type ( ) [virtual]

get feature type the ULONG distance can deal with

返回:
feature type ULONG

实现了CDistance

在文件SimpleDistance.h97行定义。

EFeatureType get_feature_type ( ) [virtual]

get feature type the INT distance can deal with

返回:
feature type INT

实现了CDistance

在文件SimpleDistance.h103行定义。

EFeatureType get_feature_type ( ) [virtual]

get feature type the DREAL distance can deal with

返回:
feature type DREAL

实现了CDistance

在文件SimpleDistance.h91行定义。

virtual EFeatureType get_feature_type ( ) [virtual]

get feature type the distance can deal with

返回:
template-specific feature type

实现了CDistance

CEuclidianDistanceCRealDistance重载。

EFeatureType get_feature_type ( ) [virtual]

get feature type the WORD distance can deal with

返回:
feature type WORD

实现了CDistance

在文件SimpleDistance.h109行定义。

EFeatureType get_feature_type ( ) [virtual]

get feature type the CHAR distance can deal with

返回:
feature type CHAR

实现了CDistance

在文件SimpleDistance.h127行定义。

virtual const char* get_name ( void  ) const [virtual]

Returns the name of the SGSerializable instance. It MUST BE the CLASS NAME without the prefixed `C'.

返回:
name of the SGSerializable

实现了CSGObject

CBrayCurtisDistanceCCanberraMetricCChebyshewMetricCChiSquareDistanceCCosineDistanceCEuclidianDistanceCGeodesicMetricCJensenMetricCManhattanMetricCMinkowskiMetricCRealDistanceCTanimotoDistance重载。

在文件SimpleDistance.h69行定义。

virtual bool init ( CFeatures l,
CFeatures r 
) [virtual]

init distance

参数:
lfeatures of left-hand side
rfeatures of right-hand side
返回:
if init was successful

重载CDistance

CBrayCurtisDistanceCCanberraMetricCChebyshewMetricCChiSquareDistanceCCosineDistanceCEuclidianDistanceCGeodesicMetricCJensenMetricCManhattanMetricCMinkowskiMetricCRealDistanceCTanimotoDistance重载。

在文件SimpleDistance.h33行定义。


该类的文档由以下文件生成:

SHOGUN Machine Learning Toolbox - Documentation