Package elki.index.preprocessed.knn
Class MetricalIndexApproximationMaterializeKNNPreprocessor.Factory<O extends NumberVector,N extends Node<E>,E extends MTreeEntry>
- java.lang.Object
-
- elki.index.preprocessed.knn.AbstractMaterializeKNNPreprocessor.Factory<O>
-
- elki.index.preprocessed.knn.MetricalIndexApproximationMaterializeKNNPreprocessor.Factory<O,N,E>
-
- Type Parameters:
O
- the type of database objects the preprocessor can be applied toN
- the type of spatial nodes in the spatial indexE
- the type of spatial entries in the spatial index
- All Implemented Interfaces:
IndexFactory<O>
- Enclosing class:
- MetricalIndexApproximationMaterializeKNNPreprocessor<O extends NumberVector,N extends Node<E>,E extends MTreeEntry>
public static class MetricalIndexApproximationMaterializeKNNPreprocessor.Factory<O extends NumberVector,N extends Node<E>,E extends MTreeEntry> extends AbstractMaterializeKNNPreprocessor.Factory<O>
The parameterizable factory.- Author:
- Erich Schubert
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MetricalIndexApproximationMaterializeKNNPreprocessor.Factory.Par<O extends NumberVector,N extends Node<E>,E extends MTreeEntry>
Parameterization class.
-
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 MetricalIndexApproximationMaterializeKNNPreprocessor<O,N,E>
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 MetricalIndexApproximationMaterializeKNNPreprocessor<O,N,E> 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 NumberVector>
- Specified by:
instantiate
in classAbstractMaterializeKNNPreprocessor.Factory<O extends NumberVector>
- Parameters:
relation
- the relation to index
-
-