public abstract class IntHashFunction extends RandomisedHashFunction<int[]>
RandomisedHashFunction
for hashing int arrays.random
Modifier and Type | Method and Description |
---|---|
int |
computeHashCode(IntFV feature)
Compute the hash code for the feature vector.
|
int |
computeHashCode(SparseIntArray array)
Compute the hash code for the sparse array.
|
int |
computeHashCode(SparseIntFV 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(IntFV feature)
feature
- the feature vectorpublic int computeHashCode(SparseIntArray array)
array
- the sparse arraypublic final int computeHashCode(SparseIntFV feature)
feature
- the sparse feature