11 #ifndef _EUCLIDEANDISTANCE_H__
12 #define _EUCLIDEANDISTANCE_H__
86 virtual const char*
get_name()
const {
return "EuclideanDistance"; }
virtual const char * get_name() const
virtual float64_t compute(int32_t idx_a, int32_t idx_b)
virtual float64_t distance_upper_bounded(int32_t idx_a, int32_t idx_b, float64_t upper_bound)
virtual void set_disable_sqrt(bool state)
virtual EDistanceType get_distance_type()
virtual bool init(CFeatures *l, CFeatures *r)
EFeatureType
shogun feature type
all of classes and functions are contained in the shogun namespace
virtual bool get_disable_sqrt()
The class Features is the base class of all feature objects.
virtual ~CEuclideanDistance()
virtual EFeatureType get_feature_type()