|
SHOGUN v0.9.0
|
template class StringDistance
在文件StringDistance.h第20行定义。

公有成员 | |
| 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 () |
| CStringDistance | ( | ) |
default constructor
在文件StringDistance.h第24行定义。
| virtual void cleanup | ( | ) | [pure virtual] |
cleanup distance
abstract base method
实现了CDistance。
在CCanberraWordDistance、CHammingWordDistance及CManhattanWordDistance内被实现。
| virtual EDistanceType get_distance_type | ( | ) | [pure virtual] |
get distance type we are
abstrace base method
实现了CDistance。
在CCanberraWordDistance、CHammingWordDistance及CManhattanWordDistance内被实现。
| virtual EFeatureClass get_feature_class | ( | ) | [virtual] |
get feature class the distance can deal with
实现了CDistance。
在文件StringDistance.h第50行定义。
| EFeatureType get_feature_type | ( | ) | [virtual] |
get feature type the SHORT distance can deal with
实现了CDistance。
在文件StringDistance.h第109行定义。
| EFeatureType get_feature_type | ( | ) | [virtual] |
get feature type the BYTE distance can deal with
实现了CDistance。
在文件StringDistance.h第115行定义。
| EFeatureType get_feature_type | ( | ) | [virtual] |
get feature type the ULONG distance can deal with
实现了CDistance。
在文件StringDistance.h第91行定义。
| EFeatureType get_feature_type | ( | ) | [virtual] |
get feature type the INT distance can deal with
实现了CDistance。
在文件StringDistance.h第97行定义。
| EFeatureType get_feature_type | ( | ) | [virtual] |
get feature type the DREAL distance can deal with
实现了CDistance。
在文件StringDistance.h第85行定义。
| virtual EFeatureType get_feature_type | ( | ) | [virtual] |
| EFeatureType get_feature_type | ( | ) | [virtual] |
get feature type the WORD distance can deal with
实现了CDistance。
在文件StringDistance.h第103行定义。
| EFeatureType get_feature_type | ( | ) | [virtual] |
get feature type the CHAR distance can deal with
实现了CDistance。
在文件StringDistance.h第121行定义。
| 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'.
实现了CSGObject。
被CCanberraWordDistance、CHammingWordDistance及CManhattanWordDistance重载。
在文件StringDistance.h第63行定义。
init distance
| l | features of left-hand side |
| r | features of right-hand side |
重载CDistance。
被CCanberraWordDistance、CHammingWordDistance及CManhattanWordDistance重载。
在文件StringDistance.h第35行定义。