O
- Object typepublic static class SimplifiedCoverTree.Factory<O> extends AbstractCoverTree.Factory<O>
Modifier and Type | Class and Description |
---|---|
static class |
SimplifiedCoverTree.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 |
---|---|
SimplifiedCoverTree<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 SimplifiedCoverTree<O> instantiate(Relation<O> relation)
IndexFactory
relation
- the relation to indexCopyright © 2019 ELKI Development Team. License information.