Package elki.index.preprocessed.knn
Class CachedDoubleDistanceKNNPreprocessor.Factory.Par<O>
- java.lang.Object
-
- elki.index.preprocessed.knn.CachedDoubleDistanceKNNPreprocessor.Factory.Par<O>
-
- All Implemented Interfaces:
Parameterizer
- Enclosing class:
- CachedDoubleDistanceKNNPreprocessor.Factory<O>
public static class CachedDoubleDistanceKNNPreprocessor.Factory.Par<O> extends java.lang.Object
Parameterization class.- Author:
- Erich Schubert
-
-
Constructor Summary
Constructors Constructor Description Par()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configure(Parameterization config)
Configure the class.CachedDoubleDistanceKNNPreprocessor.Factory<O>
make()
Make an instance after successful configuration.
-
-
-
Field Detail
-
CACHE_ID
public static final OptionID CACHE_ID
Option ID for the kNN file.
-
filename
private java.nio.file.Path filename
Filename to load.
-
-
Method Detail
-
configure
public void configure(Parameterization config)
Description copied from interface:Parameterizer
Configure the class.Note: the status is collected by the parameterization object, so that multiple errors may arise and be reported in one run.
- Specified by:
configure
in interfaceParameterizer
- Overrides:
configure
in classAbstractMaterializeKNNPreprocessor.Factory.Par<O>
- Parameters:
config
- Parameterization
-
make
public CachedDoubleDistanceKNNPreprocessor.Factory<O> make()
Description copied from interface:Parameterizer
Make an instance after successful configuration.Note: your class should return the exact type, only this very broad interface should use
Object
as return type.- Specified by:
make
in interfaceParameterizer
- Specified by:
make
in classAbstractMaterializeKNNPreprocessor.Factory.Par<O>
- Returns:
- a new instance
-
-