public abstract static class AbstractMaterializeKNNPreprocessor.Factory.Parameterizer<O,D extends Distance<D>> extends AbstractParameterizer
Modifier and Type | Field and Description |
---|---|
protected DistanceFunction<? super O,D> |
distanceFunction
Hold the distance function to be used.
|
protected int |
k
Holds the value of
AbstractMaterializeKNNPreprocessor.Factory.K_ID . |
Constructor and Description |
---|
AbstractMaterializeKNNPreprocessor.Factory.Parameterizer() |
Modifier and Type | Method and Description |
---|---|
protected abstract AbstractMaterializeKNNPreprocessor.Factory<O,D,?> |
makeInstance()
Make an instance after successful configuration.
|
protected void |
makeOptions(Parameterization config)
Add all options.
|
configure, make
protected int k
AbstractMaterializeKNNPreprocessor.Factory.K_ID
.protected DistanceFunction<? super O,D extends Distance<D>> distanceFunction
public AbstractMaterializeKNNPreprocessor.Factory.Parameterizer()
protected void makeOptions(Parameterization config)
AbstractParameterizer
makeOptions
in class AbstractParameterizer
config
- Parameterization to add options to.protected abstract AbstractMaterializeKNNPreprocessor.Factory<O,D,?> makeInstance()
AbstractParameterizer
makeInstance
in class AbstractParameterizer