O
- Object typepublic class LatLngAsECEFIndex<O extends NumberVector> extends ProjectedIndex<O,O>
LatLngDistanceFunction
, as it uses a projection that will map data
according to this great circle distance. If the query hint
DatabaseQuery.HINT_EXACT
is set, it will not be used.Modifier and Type | Class and Description |
---|---|
static class |
LatLngAsECEFIndex.Factory<O extends NumberVector>
Index factory.
|
ProjectedIndex.ProjectedKNNQuery, ProjectedIndex.ProjectedRangeQuery, ProjectedIndex.ProjectedRKNNQuery
inner, kmulti, norefine, proj, refinements, relation, view
Constructor and Description |
---|
LatLngAsECEFIndex(Relation<O> relation,
Projection<O,O> proj,
Relation<O> view,
Index inner,
boolean norefine)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
KNNQuery<O> |
getKNNQuery(DistanceQuery<O> distanceQuery,
Object... hints)
Get a KNN query object for the given distance query and k.
|
String |
getLongName()
A "pretty" name for the result, for use in titles, captions and menus.
|
RangeQuery<O> |
getRangeQuery(DistanceQuery<O> distanceQuery,
Object... hints)
Get a range query object for the given distance query and k.
|
RKNNQuery<O> |
getRKNNQuery(DistanceQuery<O> distanceQuery,
Object... hints)
Get a KNN query object for the given distance query and k.
|
String |
getShortName()
A short name for the result, useful for file names.
|
initialize, logStatistics
public String getLongName()
Result
getLongName
in interface Result
getLongName
in class ProjectedIndex<O extends NumberVector,O extends NumberVector>
public String getShortName()
Result
getShortName
in interface Result
getShortName
in class ProjectedIndex<O extends NumberVector,O extends NumberVector>
public KNNQuery<O> getKNNQuery(DistanceQuery<O> distanceQuery, Object... hints)
KNNIndex
getKNNQuery
in interface KNNIndex<O extends NumberVector>
getKNNQuery
in class ProjectedIndex<O extends NumberVector,O extends NumberVector>
distanceQuery
- Distance queryhints
- Hints for the optimizernull
public RangeQuery<O> getRangeQuery(DistanceQuery<O> distanceQuery, Object... hints)
RangeIndex
getRangeQuery
in interface RangeIndex<O extends NumberVector>
getRangeQuery
in class ProjectedIndex<O extends NumberVector,O extends NumberVector>
distanceQuery
- Distance queryhints
- Hints for the optimizernull
public RKNNQuery<O> getRKNNQuery(DistanceQuery<O> distanceQuery, Object... hints)
RKNNIndex
getRKNNQuery
in interface RKNNIndex<O extends NumberVector>
getRKNNQuery
in class ProjectedIndex<O extends NumberVector,O extends NumberVector>
distanceQuery
- Distance queryhints
- Hints for the optimizernull
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.