Mercurial > hg > audiodb
view ReporterBase.h @ 539:06ed85832c3b multiprobeLSH
Optimized the query_loop_points inner loop for memcpy and I/O efficiency. Uses sparse seeks and reads to perform scattered reads across data set. Current version does not cache fid between open calls to the same trackID.
author | mas01mc |
---|---|
date | Sat, 07 Feb 2009 01:20:05 +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