de.lmu.ifi.dbs.elki.index.preprocessed.knn
Class AbstractMaterializeKNNPreprocessor.Factory.Parameterizer<O,D extends Distance<D>>
java.lang.Object
de.lmu.ifi.dbs.elki.utilities.optionhandling.AbstractParameterizer
de.lmu.ifi.dbs.elki.index.preprocessed.knn.AbstractMaterializeKNNPreprocessor.Factory.Parameterizer<O,D>
- All Implemented Interfaces:
- Parameterizer
- Direct Known Subclasses:
- MaterializeKNNPreprocessor.Factory.Parameterizer, MetricalIndexApproximationMaterializeKNNPreprocessor.Factory.Parameterizer, PartitionApproximationMaterializeKNNPreprocessor.Factory.Parameterizer, SpatialApproximationMaterializeKNNPreprocessor.Factory.Parameterizer
- Enclosing class:
- AbstractMaterializeKNNPreprocessor.Factory<O,D extends Distance<D>>
public abstract static class AbstractMaterializeKNNPreprocessor.Factory.Parameterizer<O,D extends Distance<D>>
- extends AbstractParameterizer
Parameterization class.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
k
protected int k
- Holds the value of
AbstractMaterializeKNNPreprocessor.Factory.K_ID
.
distanceFunction
protected DistanceFunction<? super O,D extends Distance<D>> distanceFunction
- Hold the distance function to be used.
AbstractMaterializeKNNPreprocessor.Factory.Parameterizer
public AbstractMaterializeKNNPreprocessor.Factory.Parameterizer()
makeOptions
protected void makeOptions(Parameterization config)
- Description copied from class:
AbstractParameterizer
- Add all options.
ALWAYS call super.makeOptions(config), unless you have a strong reason
to do otherwise!
- Overrides:
makeOptions
in class AbstractParameterizer
- Parameters:
config
- Parameterization to add options to.
makeInstance
protected abstract AbstractMaterializeKNNPreprocessor.Factory<O,D> makeInstance()
- Description copied from class:
AbstractParameterizer
- Make an instance after successful configuration.
- Specified by:
makeInstance
in class AbstractParameterizer
- Returns:
- instance