comirva.audio.util.lsh
Class LSH

java.lang.Object
  extended by comirva.audio.util.lsh.LSH

public class LSH
extends Object


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

Constructor Detail

LSH

public LSH(int debugLevel)

LSH

public LSH()
Method Detail

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()