public static class MinKDistance.Parameterizer<O,D extends Distance<D>> extends AbstractParameterizer
Modifier and Type | Field and Description |
---|---|
private int |
k
The value of k
|
protected DistanceFunction<? super O,D> |
parentDistance
The distance function to determine the exact distance.
|
Constructor and Description |
---|
MinKDistance.Parameterizer() |
Modifier and Type | Method and Description |
---|---|
protected MinKDistance<O,D> |
makeInstance()
Make an instance after successful configuration.
|
protected void |
makeOptions(Parameterization config)
Add all options.
|
configure, make
protected DistanceFunction<? super O,D extends Distance<D>> parentDistance
private int k
protected void makeOptions(Parameterization config)
AbstractParameterizer
makeOptions
in class AbstractParameterizer
config
- Parameterization to add options to.protected MinKDistance<O,D> makeInstance()
AbstractParameterizer
makeInstance
in class AbstractParameterizer