O
- Object typeD
- Distance typepublic static class RangeQueryBenchmarkAlgorithm.Parameterizer<O extends NumberVector<?>,D extends NumberDistance<D,?>> extends AbstractDistanceBasedAlgorithm.Parameterizer<O,D>
Modifier and Type | Field and Description |
---|---|
protected DatabaseConnection |
queries
The alternate query point source.
|
static OptionID |
QUERY_ID
Parameter for the query dataset.
|
protected RandomFactory |
random
Random generator factory
|
static OptionID |
RANDOM_ID
Parameter for the random generator
|
protected double |
sampling
Sampling size.
|
static OptionID |
SAMPLING_ID
Parameter for the sampling size.
|
distanceFunction
Constructor and Description |
---|
RangeQueryBenchmarkAlgorithm.Parameterizer() |
Modifier and Type | Method and Description |
---|---|
protected RangeQueryBenchmarkAlgorithm<O,D> |
makeInstance()
Make an instance after successful configuration.
|
protected void |
makeOptions(Parameterization config)
Add all options.
|
configure, make
public static final OptionID QUERY_ID
public static final OptionID SAMPLING_ID
public static final OptionID RANDOM_ID
protected DatabaseConnection queries
protected double sampling
protected RandomFactory random
public RangeQueryBenchmarkAlgorithm.Parameterizer()
protected void makeOptions(Parameterization config)
AbstractParameterizer
makeOptions
in class AbstractDistanceBasedAlgorithm.Parameterizer<O extends NumberVector<?>,D extends NumberDistance<D,?>>
config
- Parameterization to add options to.protected RangeQueryBenchmarkAlgorithm<O,D> makeInstance()
AbstractParameterizer
makeInstance
in class AbstractParameterizer