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 DistanceDBIDResult<D>> |
getRKNNForBulkDBIDs(ArrayDBIDs ids,
int k)
Bulk query method for reverse k nearest neighbors for ids.
|
DistanceDBIDResult<D> |
getRKNNForDBID(DBIDRef id,
int k)
Get the reverse k nearest neighbors for a particular id.
|
DistanceDBIDResult<D> |
getRKNNForObject(O obj,
int k)
Get the reverse k nearest neighbors for a particular object.
|
DistanceDBIDResult<D> getRKNNForDBID(DBIDRef id, int k)
id
- query object IDk
- number of neighbors requestedDistanceDBIDResult<D> getRKNNForObject(O obj, int k)
obj
- query object instancek
- number of neighbors requestedList<? extends DistanceDBIDResult<D>> getRKNNForBulkDBIDs(ArrayDBIDs ids, int k)
ids
- query object IDsk
- number of neighbors requested