00001
00002
00003 #ifndef _SPAF_COMPARISONRESULT_HPP_
00004 #define _SPAF_COMPARISONRESULT_HPP_
00005
00006 namespace jafar {
00007 namespace spaf {
00008 class Feature;
00013 class ComparisonResult {
00014 public:
00015 ComparisonResult(double _comparable = false, double _quality = 1.0, double _closeness = 0.0, double _certainty = 1.0);
00016 ComparisonResult& operator=(const ComparisonResult&);
00017 ComparisonResult operator*(const ComparisonResult&) const;
00021 double quality() const;
00025 double closeness() const;
00029 double certainty() const;
00033 bool comparable() const;
00034 private:
00035 struct Private;
00036 Private* const d;
00037 };
00038 }
00039 }
00040
00041 #endif