protected abstract class DoublePStableFactory.PStableFunction extends DoubleHashFunction
Modifier and Type | Field and Description |
---|---|
protected double |
b |
protected double[] |
r |
random
Modifier and Type | Method and Description |
---|---|
int |
computeHashCode(double[] point)
Compute the hash code for the object
|
int |
computeHashCode(SparseDoubleArray array)
Compute the hash code for the sparse array.
|
computeHashCode, computeHashCode
public final int computeHashCode(double[] point)
HashFunction
point
- the objectpublic int computeHashCode(SparseDoubleArray array)
DoubleHashFunction
computeHashCode
in class DoubleHashFunction
array
- the sparse array