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