public abstract class FloatHashFunction extends RandomisedHashFunction<float[]>
RandomisedHashFunction
for hashing float arrays.random
Modifier and Type | Method and Description |
---|---|
int |
computeHashCode(FloatFV feature)
Compute the hash code for the feature vector.
|
int |
computeHashCode(SparseFloatArray array)
Compute the hash code for the sparse array.
|
int |
computeHashCode(SparseFloatFV feature)
Compute the hash code for the sparse feature vector.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
computeHashCode
public final int computeHashCode(FloatFV feature)
feature
- the feature vectorpublic int computeHashCode(SparseFloatArray array)
array
- the sparse arraypublic final int computeHashCode(SparseFloatFV feature)
feature
- the sparse feature