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