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, computeHashCodepublic final int computeHashCode(double[] point)
HashFunctionpoint - the objectpublic int computeHashCode(SparseDoubleArray array)
DoubleHashFunctioncomputeHashCode in class DoubleHashFunctionarray - the sparse array