Package elki.index.preprocessed.knn
Class KNNJoinMaterializeKNNPreprocessor.Factory<O extends SpatialComparable>
- java.lang.Object
-
- elki.index.preprocessed.knn.AbstractMaterializeKNNPreprocessor.Factory<O>
-
- elki.index.preprocessed.knn.KNNJoinMaterializeKNNPreprocessor.Factory<O>
-
- Type Parameters:
O
- The object type
- All Implemented Interfaces:
IndexFactory<O>
- Enclosing class:
- KNNJoinMaterializeKNNPreprocessor<V extends SpatialComparable>
public static class KNNJoinMaterializeKNNPreprocessor.Factory<O extends SpatialComparable> extends AbstractMaterializeKNNPreprocessor.Factory<O>
The parameterizable factory.- Author:
- Erich Schubert
-
-
Field Summary
-
Fields inherited from class elki.index.preprocessed.knn.AbstractMaterializeKNNPreprocessor.Factory
distance, DISTANCE_FUNCTION_ID, k, K_ID
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KNNJoinMaterializeKNNPreprocessor<O>
instantiate(Relation<O> relation)
Sets the database in the distance function of this index (if existing).-
Methods inherited from class elki.index.preprocessed.knn.AbstractMaterializeKNNPreprocessor.Factory
getDistance, getInputTypeRestriction
-
-
-
-
Method Detail
-
instantiate
public KNNJoinMaterializeKNNPreprocessor<O> instantiate(Relation<O> relation)
Description copied from interface:IndexFactory
Sets the database in the distance function of this index (if existing).- Specified by:
instantiate
in interfaceIndexFactory<O extends SpatialComparable>
- Specified by:
instantiate
in classAbstractMaterializeKNNPreprocessor.Factory<O extends SpatialComparable>
- Parameters:
relation
- the relation to index
-
-