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

详细描述

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

template class SimpleDistance

在文件SimpleDistance.h第21行定义。

继承图,类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.h第25行定义。


成员函数文档

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.h第56行定义。

EFeatureType get_feature_type ( ) [virtual]

get feature type the SHORT distance can deal with

返回:
feature type SHORT

实现了CDistance。

在文件SimpleDistance.h第115行定义。

EFeatureType get_feature_type ( ) [virtual]

get feature type the BYTE distance can deal with

返回:
feature type BYTE

实现了CDistance。

在文件SimpleDistance.h第121行定义。

EFeatureType get_feature_type ( ) [virtual]

get feature type the ULONG distance can deal with

返回:
feature type ULONG

实现了CDistance。

在文件SimpleDistance.h第97行定义。

EFeatureType get_feature_type ( ) [virtual]

get feature type the INT distance can deal with

返回:
feature type INT

实现了CDistance。

在文件SimpleDistance.h第103行定义。

EFeatureType get_feature_type ( ) [virtual]

get feature type the DREAL distance can deal with

返回:
feature type DREAL

实现了CDistance。

在文件SimpleDistance.h第91行定义。

virtual EFeatureType get_feature_type ( ) [virtual]

get feature type the distance can deal with

返回:
template-specific feature type

实现了CDistance。

被CEuclidianDistance及CRealDistance重载。

EFeatureType get_feature_type ( ) [virtual]

get feature type the WORD distance can deal with

返回:
feature type WORD

实现了CDistance。

在文件SimpleDistance.h第109行定义。

EFeatureType get_feature_type ( ) [virtual]

get feature type the CHAR distance can deal with

返回:
feature type CHAR

实现了CDistance。

在文件SimpleDistance.h第127行定义。

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。

被CBrayCurtisDistance、CCanberraMetric、CChebyshewMetric、CChiSquareDistance、CCosineDistance、CEuclidianDistance、CGeodesicMetric、CJensenMetric、CManhattanMetric、CMinkowskiMetric、CRealDistance及CTanimotoDistance重载。

在文件SimpleDistance.h第69行定义。

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。

被CBrayCurtisDistance、CCanberraMetric、CChebyshewMetric、CChiSquareDistance、CCosineDistance、CEuclidianDistance、CGeodesicMetric、CJensenMetric、CManhattanMetric、CMinkowskiMetric、CRealDistance及CTanimotoDistance重载。

在文件SimpleDistance.h第33行定义。


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

SHOGUN Machine Learning Toolbox - Documentation