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