com.davidbracewell.apollo.hash.LSHStorage Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of apollo Show documentation
Show all versions of apollo Show documentation
A machine learning library for Java.
The newest version!
package com.davidbracewell.apollo.hash;
import com.davidbracewell.apollo.linear.NDArray;
import java.util.Set;
/**
* The interface Lsh storage.
*
* @author David B. Bracewell
*/
public interface LSHStorage {
/**
* Adds the given NDArray id to the LSH table.
*
* @param vector the vector
* @param band the band
* @param bucket the bucket
* @return the int
*/
void add(NDArray vector, int band, int bucket);
/**
* Clear.
*/
void clear();
/**
* Get int [ ].
*
* @param band the band
* @param bucket the bucket
* @return the int [ ]
*/
Set get(int band, int bucket);
}// END OF LSHStorage
© 2015 - 2025 Weber Informatics LLC | Privacy Policy