de.lmu.ifi.dbs.elki.distance.distancefunction
Class MinKDistance.Parameterizer<O,D extends Distance<D>>
java.lang.Object
de.lmu.ifi.dbs.elki.utilities.optionhandling.AbstractParameterizer
de.lmu.ifi.dbs.elki.distance.distancefunction.MinKDistance.Parameterizer<O,D>
- All Implemented Interfaces:
- Parameterizer
- Enclosing class:
- MinKDistance<O,D extends Distance<D>>
public static class MinKDistance.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 |
parentDistance
protected DistanceFunction<? super O,D extends Distance<D>> parentDistance
- The distance function to determine the exact distance.
k
private int k
- The value of k
MinKDistance.Parameterizer
public MinKDistance.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 MinKDistance<O,D> makeInstance()
- Description copied from class:
AbstractParameterizer
- Make an instance after successful configuration.
- Specified by:
makeInstance
in class AbstractParameterizer
- Returns:
- instance