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 indexpublic static class MetricalIndexApproximationMaterializeKNNPreprocessor.Factory<O extends NumberVector,N extends Node<E>,E extends MTreeEntry> extends AbstractMaterializeKNNPreprocessor.Factory<O>
Modifier and Type | Class and Description |
---|---|
static class |
MetricalIndexApproximationMaterializeKNNPreprocessor.Factory.Parameterizer<O extends NumberVector,N extends Node<E>,E extends MTreeEntry>
Parameterization class.
|
DISTANCE_FUNCTION_ID, distanceFunction, k, K_ID
Constructor and Description |
---|
MetricalIndexApproximationMaterializeKNNPreprocessor.Factory(int k,
DistanceFunction<? super O> distanceFunction)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
MetricalIndexApproximationMaterializeKNNPreprocessor<O,N,E> |
instantiate(Relation<O> relation)
Sets the database in the distance function of this index (if existing).
|
getDistanceFunction, getInputTypeRestriction
public MetricalIndexApproximationMaterializeKNNPreprocessor.Factory(int k, DistanceFunction<? super O> distanceFunction)
k
- kdistanceFunction
- distance functionpublic MetricalIndexApproximationMaterializeKNNPreprocessor<O,N,E> instantiate(Relation<O> relation)
IndexFactory
instantiate
in interface IndexFactory<O extends NumberVector,KNNIndex<O extends NumberVector>>
instantiate
in class AbstractMaterializeKNNPreprocessor.Factory<O extends NumberVector>
relation
- the relation to indexCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.