public class ByteCauchyFactory extends BytePStableFactory
BytePStableFactory.PStableFunction
ndims, rng
Constructor and Description |
---|
ByteCauchyFactory(int ndims,
cern.jet.random.engine.MersenneTwister rng,
double w)
Construct the factory with the given parameters.
|
Modifier and Type | Method and Description |
---|---|
org.openimaj.lsh.functions.ByteCauchyFactory.Function |
create()
Construct a new
HashFunction . |
protected ByteFVComparison |
fvDistanceFunction() |
distanceFunction
public ByteCauchyFactory(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.ByteCauchyFactory.Function create()
HashFunctionFactory
HashFunction
.HashFunction
protected ByteFVComparison fvDistanceFunction()
fvDistanceFunction
in class ByteHashFunctionFactory