Mercurial > hg > audiodb
changeset 290:40dca0cbbffd
slight modification of LSH point_set testing
author | mas01mc |
---|---|
date | Tue, 22 Jul 2008 18:04:04 +0000 |
parents | 9127c33326f8 |
children | 63ae0dfc1767 |
files | tests/pointset_test/genpoints2.c tests/pointset_test/run-test.sh |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/pointset_test/genpoints2.c Thu Jul 17 14:43:42 2008 +0000 +++ b/tests/pointset_test/genpoints2.c Tue Jul 22 18:04:04 2008 +0000 @@ -66,7 +66,7 @@ // Save single feature vector char name[40]; if(i < count) - snprintf(name, 39, "testfeature%d", i); + snprintf(name, 39, i<10?"testfeature0%d":"testfeature%d", i); else snprintf(name, 39, "queryfeature"); /* assumes $PWD is right */
--- a/tests/pointset_test/run-test.sh Thu Jul 17 14:43:42 2008 +0000 +++ b/tests/pointset_test/run-test.sh Tue Jul 22 18:04:04 2008 +0000 @@ -57,7 +57,7 @@ do R_SQ=`echo "scale=6; $j^2" | bc` ${AUDIODB} -d testdb -X -R ${R_SQ} -l 1 --lsh_N ${LSH_N} \ - --lsh_b ${LSH_N} --lsh_k ${LSH_K} --lsh_m ${LSH_M} --lsh_w ${W} \ + --lsh_b ${LSH_N} --lsh_k ${LSH_K} --lsh_m ${LSH_M} --lsh_w ${W} --lsh_ncols 1000 \ --absolute-threshold -1 --no_unit_norming done fi