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

详细描述

template<class ST>
class shogun::CStringDistance< ST >

template class StringDistance

在文件StringDistance.h20行定义。

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

所有成员的列表。

公有成员

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

在文件StringDistance.h24行定义。


成员函数文档

virtual void cleanup ( ) [pure virtual]

cleanup distance

abstract base method

实现了CDistance

CCanberraWordDistanceCHammingWordDistanceCManhattanWordDistance内被实现。

virtual EDistanceType get_distance_type ( ) [pure virtual]

get distance type we are

abstrace base method

返回:
distance type

实现了CDistance

CCanberraWordDistanceCHammingWordDistanceCManhattanWordDistance内被实现。

virtual EFeatureClass get_feature_class ( ) [virtual]

get feature class the distance can deal with

返回:
feature class STRING

实现了CDistance

在文件StringDistance.h50行定义。

EFeatureType get_feature_type ( ) [virtual]

get feature type the SHORT distance can deal with

返回:
feature type SHORT

实现了CDistance

在文件StringDistance.h109行定义。

EFeatureType get_feature_type ( ) [virtual]

get feature type the BYTE distance can deal with

返回:
feature type BYTE

实现了CDistance

在文件StringDistance.h115行定义。

EFeatureType get_feature_type ( ) [virtual]

get feature type the ULONG distance can deal with

返回:
feature type ULONG

实现了CDistance

在文件StringDistance.h91行定义。

EFeatureType get_feature_type ( ) [virtual]

get feature type the INT distance can deal with

返回:
feature type INT

实现了CDistance

在文件StringDistance.h97行定义。

EFeatureType get_feature_type ( ) [virtual]

get feature type the DREAL distance can deal with

返回:
feature type DREAL

实现了CDistance

在文件StringDistance.h85行定义。

virtual EFeatureType get_feature_type ( ) [virtual]

get feature type the distance can deal with

返回:
template-specific feature type

实现了CDistance

EFeatureType get_feature_type ( ) [virtual]

get feature type the WORD distance can deal with

返回:
feature type WORD

实现了CDistance

在文件StringDistance.h103行定义。

EFeatureType get_feature_type ( ) [virtual]

get feature type the CHAR distance can deal with

返回:
feature type CHAR

实现了CDistance

在文件StringDistance.h121行定义。

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

CCanberraWordDistanceCHammingWordDistanceCManhattanWordDistance重载。

在文件StringDistance.h63行定义。

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

CCanberraWordDistanceCHammingWordDistanceCManhattanWordDistance重载。

在文件StringDistance.h35行定义。


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

SHOGUN Machine Learning Toolbox - Documentation