O
- Object typepublic static class PrecomputedDistanceMatrix.Factory<O> extends Object implements IndexFactory<O,PrecomputedDistanceMatrix<O>>
Modifier and Type | Class and Description |
---|---|
static class |
PrecomputedDistanceMatrix.Factory.Parameterizer<O>
Parameterizer.
|
Modifier and Type | Field and Description |
---|---|
protected DistanceFunction<? super O> |
distanceFunction
Nested distance function.
|
Constructor and Description |
---|
PrecomputedDistanceMatrix.Factory(DistanceFunction<? super O> distanceFunction)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
TypeInformation |
getInputTypeRestriction()
Get the input type restriction used for negotiating the data query.
|
PrecomputedDistanceMatrix<O> |
instantiate(Relation<O> relation)
Sets the database in the distance function of this index (if existing).
|
protected final DistanceFunction<? super O> distanceFunction
public PrecomputedDistanceMatrix.Factory(DistanceFunction<? super O> distanceFunction)
distanceFunction
- Distance functionpublic PrecomputedDistanceMatrix<O> instantiate(Relation<O> relation)
IndexFactory
instantiate
in interface IndexFactory<O,PrecomputedDistanceMatrix<O>>
relation
- the relation to indexpublic TypeInformation getInputTypeRestriction()
IndexFactory
getInputTypeRestriction
in interface IndexFactory<O,PrecomputedDistanceMatrix<O>>
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.