changeset 240:4eb4608e28e1

OK, time for trackSequenceQueryNN to die. (Or at least be renamed. query_loop() isn't such a good name, but it will be less confusing for now.)
author mas01cr
date Thu, 13 Dec 2007 14:28:54 +0000
parents 2cc06e5b05a5
children 2a88ae80e4a9
files audioDB.h query.cpp
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/audioDB.h	Thu Dec 13 14:23:32 2007 +0000
+++ b/audioDB.h	Thu Dec 13 14:28:54 2007 +0000
@@ -205,7 +205,7 @@
   void read_data(int track, double **data_buffer_p, size_t *data_buffer_size_p);
   void set_up_query(double **qp, double **vqp, double **qnp, double **vqnp, double **qpp, double **vqpp, double *mqdp, unsigned int *nvp);
   void set_up_db(double **snp, double **vsnp, double **spp, double **vspp, double **mddp, unsigned int *dvp);
-  void trackSequenceQueryNN(const char* dbName, const char* inFile, Reporter *reporter);
+  void query_loop(const char* dbName, const char* inFile, Reporter *reporter);
 
   void initDBHeader(const char *dbName);
   void initInputFile(const char *inFile);
--- a/query.cpp	Thu Dec 13 14:23:32 2007 +0000
+++ b/query.cpp	Thu Dec 13 14:28:54 2007 +0000
@@ -40,7 +40,7 @@
   default:
     error("unrecognized queryType in query()");
   }  
-  trackSequenceQueryNN(dbName, inFile, r);
+  query_loop(dbName, inFile, r);
   r->report(fileTable, adbQueryResponse);
   delete r;
 }
@@ -327,7 +327,7 @@
   *vspp = *spp;
 }
 
-void audioDB::trackSequenceQueryNN(const char* dbName, const char* inFile, Reporter *reporter) {
+void audioDB::query_loop(const char* dbName, const char* inFile, Reporter *reporter) {
   
   unsigned int numVectors;
   double *query, *query_data;