O
- The object typepublic static class KNNJoinMaterializeKNNPreprocessor.Factory<O extends NumberVector> extends AbstractMaterializeKNNPreprocessor.Factory<O>
Modifier and Type | Class and Description |
---|---|
static class |
KNNJoinMaterializeKNNPreprocessor.Factory.Parameterizer<O extends NumberVector>
Parameterization class
|
DISTANCE_FUNCTION_ID, distanceFunction, k, K_ID
Constructor and Description |
---|
KNNJoinMaterializeKNNPreprocessor.Factory(int k,
DistanceFunction<? super O> distanceFunction)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
KNNJoinMaterializeKNNPreprocessor<O> |
instantiate(Relation<O> relation)
Sets the database in the distance function of this index (if existing).
|
getDistanceFunction, getInputTypeRestriction
public KNNJoinMaterializeKNNPreprocessor.Factory(int k, DistanceFunction<? super O> distanceFunction)
k
- KdistanceFunction
- distance functionpublic KNNJoinMaterializeKNNPreprocessor<O> 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.