comparison audioDB.cpp @ 248:5682c7d7444b

Added new query type: nsequence : this reports the n-nearest neighbours for each track in a sequence averaging query. Next up is the same for the radius search (still accessed via nsequence but with -R set non zero)
author mas01mc
date Sun, 17 Feb 2008 14:56:02 +0000
parents 2cc06e5b05a5
children 4dcb09f5fe85
comparison
equal deleted inserted replaced
245:0d99b008fd6b 248:5682c7d7444b
304 queryType=O2_TRACK_QUERY; 304 queryType=O2_TRACK_QUERY;
305 else if(strncmp(args_info.QUERY_arg, "point", MAXSTR)==0) 305 else if(strncmp(args_info.QUERY_arg, "point", MAXSTR)==0)
306 queryType=O2_POINT_QUERY; 306 queryType=O2_POINT_QUERY;
307 else if(strncmp(args_info.QUERY_arg, "sequence", MAXSTR)==0) 307 else if(strncmp(args_info.QUERY_arg, "sequence", MAXSTR)==0)
308 queryType=O2_SEQUENCE_QUERY; 308 queryType=O2_SEQUENCE_QUERY;
309 else if(strncmp(args_info.QUERY_arg, "nsequence", MAXSTR)==0)
310 queryType=O2_N_SEQUENCE_QUERY;
309 else 311 else
310 error("unsupported query type",args_info.QUERY_arg); 312 error("unsupported query type",args_info.QUERY_arg);
311 313
312 if(!args_info.exhaustive_flag){ 314 if(!args_info.exhaustive_flag){
313 queryPoint = args_info.qpoint_arg; 315 queryPoint = args_info.qpoint_arg;