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 |
---|
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 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>
instantiate
in class AbstractMaterializeKNNPreprocessor.Factory<O extends NumberVector>
relation
- the relation to indexCopyright © 2019 ELKI Development Team. License information.