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(org.openimaj.util.array.SparseDoubleArray array)
Compute the hash code for the sparse array.
|
int |
computeHashCode(SparseDoubleFV feature)
Compute the hash code for the sparse feature vector.
|
public final int computeHashCode(DoubleFV feature)
feature - the feature vectorpublic int computeHashCode(org.openimaj.util.array.SparseDoubleArray array)
array - the sparse arraypublic final int computeHashCode(SparseDoubleFV feature)
feature - the sparse feature