public class FloatGaussianFactory extends FloatPStableFactory
FloatPStableFactory.PStableFunction
ndims, rng
Constructor and Description |
---|
FloatGaussianFactory(int ndims,
cern.jet.random.engine.MersenneTwister rng,
double w)
Construct with the given parameters.
|
Modifier and Type | Method and Description |
---|---|
org.openimaj.lsh.functions.FloatGaussianFactory.Function |
create()
Construct a new
HashFunction . |
protected FloatFVComparison |
fvDistanceFunction() |
distanceFunction
public FloatGaussianFactory(int ndims, cern.jet.random.engine.MersenneTwister rng, double w)
ndims
- number of dimensions of the datarng
- the random number generatorw
- the width parameterpublic org.openimaj.lsh.functions.FloatGaussianFactory.Function create()
HashFunctionFactory
HashFunction
.HashFunction
protected FloatFVComparison fvDistanceFunction()
fvDistanceFunction
in class FloatHashFunctionFactory