O
- Outer object type.I
- Inner object type.public static class ProjectedIndex.Factory<O,I> extends Object implements IndexFactory<O,ProjectedIndex<O,I>>
Modifier and Type | Class and Description |
---|---|
static class |
ProjectedIndex.Factory.Parameterizer<O,I>
Parameterization class.
|
Modifier and Type | Field and Description |
---|---|
(package private) IndexFactory<I,?> |
inner
Inner index factory.
|
(package private) double |
kmulti
Multiplier for k.
|
(package private) boolean |
materialize
Whether to use a materialized view, or a virtual view.
|
(package private) boolean |
norefine
Disable refinement of distances.
|
(package private) Projection<O,I> |
proj
Projection to use.
|
Constructor and Description |
---|
Factory(Projection<O,I> proj,
IndexFactory<I,?> inner,
boolean materialize,
boolean norefine,
double kmulti)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
TypeInformation |
getInputTypeRestriction()
Get the input type restriction used for negotiating the data query.
|
ProjectedIndex<O,I> |
instantiate(Relation<O> relation)
Sets the database in the distance function of this index (if existing).
|
Projection<O,I> proj
IndexFactory<I,?> inner
boolean materialize
boolean norefine
double kmulti
public Factory(Projection<O,I> proj, IndexFactory<I,?> inner, boolean materialize, boolean norefine, double kmulti)
proj
- Projectioninner
- Inner indexmaterialize
- Flag for materializingnorefine
- Disable refinement of distanceskmulti
- Multiplicator for k.public ProjectedIndex<O,I> instantiate(Relation<O> relation)
IndexFactory
instantiate
in interface IndexFactory<O,ProjectedIndex<O,I>>
relation
- the relation to indexpublic TypeInformation getInputTypeRestriction()
IndexFactory
getInputTypeRestriction
in interface IndexFactory<O,ProjectedIndex<O,I>>
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.