Mercurial > hg > audiodb
view pointpair.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 | 2b95e396f4d7 |
children | aa715b3e18db |
line wrap: on
line source
// should probably be rewritten class PointPair { public: uint32_t trackID; uint32_t qpos; uint32_t spos; PointPair(uint32_t a, uint32_t b, uint32_t c); }; bool operator<(const PointPair& a, const PointPair& b);