Mercurial > hg > audiodb
diff UNIT_TEST_LSH.cpp @ 294:071a108580a4
fixed UNIT_TEST_LSH.cpp to work with refactored lshlib and fixed default LSH file FORMAT on serialization.
author | mas01mc |
---|---|
date | Wed, 30 Jul 2008 18:00:50 +0000 |
parents | d9a88cfd4ab6 |
children |
line wrap: on
line diff
--- a/UNIT_TEST_LSH.cpp Wed Jul 30 15:22:22 2008 +0000 +++ b/UNIT_TEST_LSH.cpp Wed Jul 30 18:00:50 2008 +0000 @@ -51,13 +51,13 @@ serialized=true; trackBase = (lsh->get_maxp()>>N_POINT_BITS)+1; // Our encoding of tracks and points } - cout << "k:" << lsh->k << " "; - cout << "m:" << lsh->m << "(L:" << lsh->L << ") "; - cout << "d:" << lsh->d << " "; - cout << "N:" << lsh->N << " "; - cout << "C:" << lsh->C << " "; - cout << "R:" << lsh->get_radius() << endl; - cout << "p:" << lsh->p << endl; + cout << "k:" << lsh->get_numFuns() << " "; + cout << "L:" << lsh->get_numTables() << " "; + cout << "d:" << lsh->get_dataDim() << " "; + cout << "N:" << lsh->get_numRows() << " "; + cout << "C:" << lsh->get_numCols() << " "; + cout << "R:" << lsh->get_radius() << " "; + cout << "p:" << lsh->get_maxp() << endl; cout.flush(); cout << endl << "Constructing " << nT << " tracks with " << nP << " vectors of dimension " << d << endl;