Package elki.index.preprocessed.snn
Class SharedNearestNeighborPreprocessor.Factory.Par<O>
- java.lang.Object
-
- elki.index.preprocessed.snn.SharedNearestNeighborPreprocessor.Factory.Par<O>
-
- All Implemented Interfaces:
elki.utilities.optionhandling.Parameterizer
- Enclosing class:
- SharedNearestNeighborPreprocessor.Factory<O>
public static class SharedNearestNeighborPreprocessor.Factory.Par<O> extends java.lang.Object implements elki.utilities.optionhandling.ParameterizerParameterization class.- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description protected elki.distance.Distance<O>distanceFunctionHold the distance function to be used.protected intnumberOfNeighborsHolds the number of nearest neighbors to be used.
-
Constructor Summary
Constructors Constructor Description Par()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigure(elki.utilities.optionhandling.parameterization.Parameterization config)SharedNearestNeighborPreprocessor.Factory<O>make()
-
-
-
Field Detail
-
numberOfNeighbors
protected int numberOfNeighbors
Holds the number of nearest neighbors to be used.
-
distanceFunction
protected elki.distance.Distance<O> distanceFunction
Hold the distance function to be used.
-
-
Method Detail
-
configure
public void configure(elki.utilities.optionhandling.parameterization.Parameterization config)
- Specified by:
configurein interfaceelki.utilities.optionhandling.Parameterizer
-
make
public SharedNearestNeighborPreprocessor.Factory<O> make()
- Specified by:
makein interfaceelki.utilities.optionhandling.Parameterizer
-
-