comirva.audio.util.lsh.test
Class TestData
java.lang.Object
comirva.audio.util.lsh.test.TestData
public class TestData
- extends Object
Constructor Summary |
TestData(int dimension,
int distance,
int border,
Hashtable table,
boolean debug)
|
space
Hashtable space
rand
Random rand
TestData
public TestData(int dimension,
int distance,
int border,
Hashtable table,
boolean debug)
compare
public void compare(Map nnResult,
ArrayList<float[]> resultsBF)
createOuterTestData
public float[] createOuterTestData(float[] queryPoint)
createInnerTestData
public float[] createInnerTestData(float[] queryPoint)
getActualNeighbor
public int getActualNeighbor()
findClosestBruteForce
public ArrayList<float[]> findClosestBruteForce(float[] vector)
showStat
public void showStat()
getRuntim
public String getRuntim()
toString
public String toString()
- Overrides:
toString
in class Object