template class SparseDistance
Definition at line 20 of file SparseDistance.h.
Public Member Functions | |
CSparseDistance () | |
virtual bool | init (CFeatures *l, CFeatures *r) |
virtual EFeatureClass | get_feature_class () |
virtual EFeatureType | get_feature_type () |
virtual const char * | get_name () 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 () |
CSparseDistance | ( | ) |
default constructor
Definition at line 24 of file SparseDistance.h.
virtual void cleanup | ( | ) | [pure virtual] |
cleanup distance
abstract base method
Implements CDistance.
Implemented in CSparseEuclidianDistance.
virtual EDistanceType get_distance_type | ( | ) | [pure virtual] |
get distance type we are
abstrace base method
Implements CDistance.
Implemented in CSparseEuclidianDistance.
virtual EFeatureClass get_feature_class | ( | ) | [virtual] |
get feature class the distance can deal with
Implements CDistance.
Definition at line 53 of file SparseDistance.h.
EFeatureType get_feature_type | ( | ) | [virtual] |
get feature type the SHORT distance can deal with
Implements CDistance.
Definition at line 112 of file SparseDistance.h.
EFeatureType get_feature_type | ( | ) | [virtual] |
get feature type the BYTE distance can deal with
Implements CDistance.
Definition at line 118 of file SparseDistance.h.
EFeatureType get_feature_type | ( | ) | [virtual] |
get feature type the ULONG distance can deal with
Implements CDistance.
Definition at line 94 of file SparseDistance.h.
EFeatureType get_feature_type | ( | ) | [virtual] |
get feature type the INT distance can deal with
Implements CDistance.
Definition at line 100 of file SparseDistance.h.
EFeatureType get_feature_type | ( | ) | [virtual] |
get feature type the DREAL distance can deal with
Implements CDistance.
Definition at line 88 of file SparseDistance.h.
virtual EFeatureType get_feature_type | ( | ) | [virtual] |
get feature type the distance can deal with
Implements CDistance.
Reimplemented in CSparseEuclidianDistance.
EFeatureType get_feature_type | ( | ) | [virtual] |
get feature type the WORD distance can deal with
Implements CDistance.
Definition at line 106 of file SparseDistance.h.
EFeatureType get_feature_type | ( | ) | [virtual] |
get feature type the CHAR distance can deal with
Implements CDistance.
Definition at line 124 of file SparseDistance.h.
virtual const char* get_name | ( | ) | const [virtual] |
Returns the name of the SGSerializable instance. It MUST BE the CLASS NAME without the prefixed `C'.
Implements CSGObject.
Reimplemented in CSparseEuclidianDistance.
Definition at line 66 of file SparseDistance.h.
init distance
l | features of left-hand side | |
r | features of right-hand side |
Reimplemented from CDistance.
Reimplemented in CSparseEuclidianDistance.
Definition at line 32 of file SparseDistance.h.