comirva.audio.util.lsh
Class LSH
java.lang.Object
comirva.audio.util.lsh.LSH
public class LSH
- extends Object
Constructor Summary |
LSH()
|
LSH(int debugLevel)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LSH
public LSH(int debugLevel)
LSH
public LSH()
initLSHValues
public void initLSHValues(int omega,
int k,
int dimension,
double delta,
int amount)
add
public void add(float[] vector)
delete
public boolean delete(float[] vector)
findNN
public Map findNN(float[] vector,
int cR)
showStat
public void showStat()
getComparison
public int getComparison()
getRuntim
public String getRuntim(long time)
getDataStructure
public Hashtable<Integer,ArrayList>[] getDataStructure()
setActualNeighbor
public void setActualNeighbor(int neighbors)
getDebugLevel
public int getDebugLevel()
showHashTables
public void showHashTables()