Mercurial > hg > audiodb
view ReporterBase.h @ 522:dad3d252462a multiprobeLSH
Fixed upper-limit (T) boundary error in MultiProbe::generatePerturbationSets(x, T). Setting this too high spins algorithm1 into infinite heap allocations without possiblity of terminating. This is now silently capped at --lsh_k * 2; the algorithm halts up to this threshold.
author | mas01mc |
---|---|
date | Tue, 27 Jan 2009 14:52:28 +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