public static class SharedNearestNeighborPreprocessor.Factory.Parameterizer<O> extends AbstractParameterizer
Modifier and Type | Field and Description |
---|---|
protected DistanceFunction<O> |
distanceFunction
Hold the distance function to be used.
|
protected int |
numberOfNeighbors
Holds the number of nearest neighbors to be used.
|
Constructor and Description |
---|
Parameterizer() |
Modifier and Type | Method and Description |
---|---|
protected SharedNearestNeighborPreprocessor.Factory<O> |
makeInstance()
Make an instance after successful configuration.
|
protected void |
makeOptions(Parameterization config)
Add all options.
|
configure, make
protected int numberOfNeighbors
protected DistanceFunction<O> distanceFunction
protected void makeOptions(Parameterization config)
AbstractParameterizer
makeOptions
in class AbstractParameterizer
config
- Parameterization to add options to.protected SharedNearestNeighborPreprocessor.Factory<O> makeInstance()
AbstractParameterizer
makeInstance
in class AbstractParameterizer
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.