V
- Data type to hash.public interface LocalitySensitiveHashFunction<V>
Modifier and Type | Method and Description |
---|---|
int |
getNumberOfProjections()
Get the number of projections performed.
|
int |
hashObject(V obj)
Compute the hash value of an object.
|
int |
hashObject(V obj,
double[] buf)
Compute the hash value of an object (faster version).
|
int hashObject(V obj)
obj
- Object to hashint hashObject(V obj, double[] buf)
obj
- Object to hashbuf
- Buffer, sized according to the number of projections.int getNumberOfProjections()
Copyright © 2019 ELKI Development Team. License information.