public abstract class FloatHashFunction extends RandomisedHashFunction<float[]>
RandomisedHashFunction for hashing float arrays.random| Modifier and Type | Method and Description |
|---|---|
int |
computeHashCode(FloatFV feature)
Compute the hash code for the feature vector.
|
int |
computeHashCode(org.openimaj.util.array.SparseFloatArray array)
Compute the hash code for the sparse array.
|
int |
computeHashCode(SparseFloatFV feature)
Compute the hash code for the sparse feature vector.
|
public final int computeHashCode(FloatFV feature)
feature - the feature vectorpublic int computeHashCode(org.openimaj.util.array.SparseFloatArray array)
array - the sparse arraypublic final int computeHashCode(SparseFloatFV feature)
feature - the sparse feature