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