00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #ifndef EUCLIDEANDISTANCE_H_
00012 #define EUCLIDEANDISTANCE_H_
00013
00014 #include "WeightFunction.h"
00015
00020 class EuclideanDistance: public WeightFunction {
00021 public:
00022 EuclideanDistance();
00023 virtual ~EuclideanDistance();
00024
00025 double getWeight(double * x, double *y, int d);
00026 };
00027
00028 #endif