Package elki.index.projected
Class LatLngAsECEFIndex.Factory<O extends NumberVector>
- java.lang.Object
-
- elki.index.projected.ProjectedIndex.Factory<O,O>
-
- elki.index.projected.LatLngAsECEFIndex.Factory<O>
-
- Type Parameters:
O
- Data type.
- All Implemented Interfaces:
IndexFactory<O>
- Enclosing class:
- LatLngAsECEFIndex<O extends NumberVector>
public static class LatLngAsECEFIndex.Factory<O extends NumberVector> extends ProjectedIndex.Factory<O,O>
Index factory.- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description (package private) boolean
norefine
Disable refinement of distances.-
Fields inherited from class elki.index.projected.ProjectedIndex.Factory
inner, kmulti, materialize, proj
-
-
Constructor Summary
Constructors Constructor Description Factory(IndexFactory<O> inner, boolean materialize, boolean norefine, EarthModel model)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProjectedIndex<O,O>
instantiate(Relation<O> relation)
Sets the database in the distance function of this index (if existing).-
Methods inherited from class elki.index.projected.ProjectedIndex.Factory
getInputTypeRestriction
-
-
-
-
Constructor Detail
-
Factory
public Factory(IndexFactory<O> inner, boolean materialize, boolean norefine, EarthModel model)
Constructor.- Parameters:
inner
- Inner indexmaterialize
- Flag to materialize the projectionnorefine
- Flag to disable refinement of distancesmodel
- Earth model
-
-
Method Detail
-
instantiate
public ProjectedIndex<O,O> instantiate(Relation<O> relation)
Description copied from interface:IndexFactory
Sets the database in the distance function of this index (if existing).- Specified by:
instantiate
in interfaceIndexFactory<O extends NumberVector>
- Overrides:
instantiate
in classProjectedIndex.Factory<O extends NumberVector,O extends NumberVector>
- Parameters:
relation
- the relation to index
-
-