protected abstract class IntPStableFactory.PStableFunction extends IntHashFunction
| Modifier and Type | Field and Description |
|---|---|
protected double |
b |
protected double[] |
r |
random| Modifier and Type | Method and Description |
|---|---|
int |
computeHashCode(int[] point) |
int |
computeHashCode(org.openimaj.util.array.SparseIntArray array)
Compute the hash code for the sparse array.
|
computeHashCode, computeHashCodepublic final int computeHashCode(int[] point)
public int computeHashCode(org.openimaj.util.array.SparseIntArray array)
IntHashFunctioncomputeHashCode in class IntHashFunctionarray - the sparse array