O
- Object typepublic static class CoverTree.Factory<O> extends AbstractCoverTree.Factory<O,CoverTree<O>>
Modifier and Type | Class and Description |
---|---|
static class |
CoverTree.Factory.Parameterizer<O>
Parameterization class.
|
distanceFunction, expansion, truncate
Constructor and Description |
---|
Factory(DistanceFunction<? super O> distanceFunction,
double expansion,
int truncate)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
CoverTree<O> |
instantiate(Relation<O> relation)
Sets the database in the distance function of this index (if existing).
|
getInputTypeRestriction
public Factory(DistanceFunction<? super O> distanceFunction, double expansion, int truncate)
distanceFunction
- Distance functionexpansion
- Expansion ratetruncate
- Truncate branches with less than this number of
instances.public CoverTree<O> instantiate(Relation<O> relation)
IndexFactory
relation
- the relation to indexCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.