diff audioDB.h @ 232:c76cdcf096fd refactoring

Proof of Reporter concept: restore pointQuery and trackPointQuery Only now it's "obvious" how they are the same and how they differ from the basic loop: * normalizedDistance is the only new feature added; * all the rest is in reporter stuff... * ... except that we have to turn on L2Norm, even if we don't use it. Alter the tests to cope with this fact, l2norming the point- and track-search databases.
author mas01cr
date Mon, 10 Dec 2007 20:01:43 +0000
parents acafe033b962
children 9c3396bab02e
line wrap: on
line diff
--- a/audioDB.h	Mon Dec 10 18:25:55 2007 +0000
+++ b/audioDB.h	Mon Dec 10 20:01:43 2007 +0000
@@ -167,6 +167,7 @@
   unsigned trackNN;   // how many track NNs ?
   unsigned sequenceLength;
   unsigned sequenceHop;
+  bool normalizedDistance;
   unsigned queryPoint;
   unsigned usingQueryPoint;
   unsigned usingTimes;
@@ -276,6 +277,7 @@
   trackNN(O2_DEFAULT_TRACKNN), \
   sequenceLength(16), \
   sequenceHop(1), \
+  normalizedDistance(true), \
   queryPoint(0), \
   usingQueryPoint(0), \
   usingTimes(0), \