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