00001
00002
00003 #ifndef _SPAFDB_GRAPH_MATCH_QUERY_HPP_
00004 #define _SPAFDB_GRAPH_MATCH_QUERY_HPP_
00005
00006 #include <spafdb/MatchQuery.hpp>
00007
00008 namespace jafar {
00009 namespace spafdb {
00010 class GraphMatchQuery : public MatchQuery {
00011 public:
00012 GraphMatchQuery(double distance);
00013 ~GraphMatchQuery();
00014 virtual std::list<spaf::MatchResult> execute(const Storage*, const spaf::FeaturesBag& ) const;
00015 double distance() const;
00016 void setDistance(double d);
00017 private:
00018 struct Private;
00019 Private* const d;
00020 };
00021 }
00022 }
00023
00024 #endif