O
- Object typeD
- Distance typepublic interface RKNNQuery<O,D extends Distance<D>> extends DatabaseQuery
HINT_BULK, HINT_EXACT, HINT_HEAVY_USE, HINT_NO_CACHE, HINT_OPTIMIZED_ONLY, HINT_SINGLE
Modifier and Type | Method and Description |
---|---|
List<? extends DistanceDBIDList<D>> |
getRKNNForBulkDBIDs(ArrayDBIDs ids,
int k)
Bulk query method for reverse k nearest neighbors for ids.
|
DistanceDBIDList<D> |
getRKNNForDBID(DBIDRef id,
int k)
Get the reverse k nearest neighbors for a particular id.
|
DistanceDBIDList<D> |
getRKNNForObject(O obj,
int k)
Get the reverse k nearest neighbors for a particular object.
|
DistanceDBIDList<D> getRKNNForDBID(DBIDRef id, int k)
id
- query object IDk
- number of neighbors requestedDistanceDBIDList<D> getRKNNForObject(O obj, int k)
obj
- query object instancek
- number of neighbors requestedList<? extends DistanceDBIDList<D>> getRKNNForBulkDBIDs(ArrayDBIDs ids, int k)
ids
- query object IDsk
- number of neighbors requested