class ProjectedIndex.ProjectedRKNNQuery extends Object implements RKNNQuery<O>
Modifier and Type | Field and Description |
---|---|
(package private) DistanceQuery<O> |
distq
Distance query for refinement.
|
(package private) RKNNQuery<I> |
inner
Inner RkNN query.
|
HINT_BULK, HINT_EXACT, HINT_HEAVY_USE, HINT_NO_CACHE, HINT_OPTIMIZED_ONLY, HINT_SINGLE
Constructor and Description |
---|
ProjectedRKNNQuery(DistanceQuery<O> distanceQuery,
RKNNQuery<I> inner)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
List<? extends DoubleDBIDList> |
getRKNNForBulkDBIDs(ArrayDBIDs ids,
int k)
Bulk query method for reverse k nearest neighbors for ids.
|
DoubleDBIDList |
getRKNNForDBID(DBIDRef id,
int k)
Get the reverse k nearest neighbors for a particular id.
|
DoubleDBIDList |
getRKNNForObject(O obj,
int k)
Get the reverse k nearest neighbors for a particular object.
|
DistanceQuery<O> distq
public ProjectedRKNNQuery(DistanceQuery<O> distanceQuery, RKNNQuery<I> inner)
inner
- Inner RkNN query.public DoubleDBIDList getRKNNForDBID(DBIDRef id, int k)
RKNNQuery
getRKNNForDBID
in interface RKNNQuery<O>
id
- query object IDk
- number of neighbors requestedpublic DoubleDBIDList getRKNNForObject(O obj, int k)
RKNNQuery
getRKNNForObject
in interface RKNNQuery<O>
obj
- query object instancek
- number of neighbors requestedpublic List<? extends DoubleDBIDList> getRKNNForBulkDBIDs(ArrayDBIDs ids, int k)
RKNNQuery
getRKNNForBulkDBIDs
in interface RKNNQuery<O>
ids
- query object IDsk
- number of neighbors requestedCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.