Package elki.index.preprocessed.knn
Class CachedDoubleDistanceKNNPreprocessor.Factory<O>
- java.lang.Object
-
- elki.index.preprocessed.knn.AbstractMaterializeKNNPreprocessor.Factory<O>
-
- elki.index.preprocessed.knn.CachedDoubleDistanceKNNPreprocessor.Factory<O>
-
- Type Parameters:
O- The object type
- All Implemented Interfaces:
elki.index.IndexFactory<O>
- Enclosing class:
- CachedDoubleDistanceKNNPreprocessor<O>
public static class CachedDoubleDistanceKNNPreprocessor.Factory<O> extends elki.index.preprocessed.knn.AbstractMaterializeKNNPreprocessor.Factory<O>The parameterizable factory.- Author:
- Erich Schubert
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCachedDoubleDistanceKNNPreprocessor.Factory.Par<O>Parameterization class.
-
Field Summary
Fields Modifier and Type Field Description private java.nio.file.PathfilenameFilename to load.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CachedDoubleDistanceKNNPreprocessor<O>instantiate(elki.database.relation.Relation<O> relation)
-
-
-
Constructor Detail
-
Factory
public Factory(int k, elki.distance.Distance<? super O> distance, java.nio.file.Path filename)Index factory.- Parameters:
k- k parameterdistance- distance functionfilename- Cache file
-
-
Method Detail
-
instantiate
public CachedDoubleDistanceKNNPreprocessor<O> instantiate(elki.database.relation.Relation<O> relation)
-
-