00001 #ifndef EUCLIDEANDISTANCE_H_ 00002 #define EUCLIDEANDISTANCE_H_ 00003 00004 #include "svm.h" 00005 #include <cmath> 00006 00007 namespace damina 00008 { 00013 class EuclideanDistance 00014 { 00015 public: 00016 virtual double calculateDistance(struct svm_node *, struct svm_node *) = 0; 00017 EuclideanDistance(); 00018 virtual ~EuclideanDistance(); 00019 }; 00020 } 00021 00022 #endif /*EUCLIDEANDISTANCE_H_H*/
1.5.2