Mercurial > hg > audiodb
view ReporterBase.h @ 529:e532666226bc multiprobeLSH
Fixed a problem with inserting into exact_evaluation_queue, duplicate pairs were being inserted when querying multiple hashtables. That is now fixed by adding a unique constraint using set<PointPair> inserts and testing. This should speed things up quite a bit (like, 10-fold with default num tables).
author | mas01mc |
---|---|
date | Fri, 30 Jan 2009 14:58:35 +0000 |
parents | 23c47e118bc6 |
children |
line wrap: on
line source
#ifndef __REPORTERBASE_H #define __REPORTERBASE_H class ReporterBase { public: virtual ~ReporterBase(){}; virtual void add_point(unsigned int trackID, unsigned int qpos, unsigned int spos, double dist) = 0; virtual void report(adb_t *, struct soap *, void *) = 0; }; #endif