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 |
---|---|
D |
getDistanceFactory()
Get the distance data type of the function.
|
Relation<? extends O> |
getRelation()
Access the underlying data query.
|
List<List<DistanceResultPair<D>>> |
getRKNNForBulkDBIDs(ArrayDBIDs ids,
int k)
Bulk query method for reverse k nearest neighbors for ids.
|
List<DistanceResultPair<D>> |
getRKNNForDBID(DBID id,
int k)
Get the reverse k nearest neighbors for a particular id.
|
List<DistanceResultPair<D>> |
getRKNNForObject(O obj,
int k)
Get the reverse k nearest neighbors for a particular object.
|
List<DistanceResultPair<D>> getRKNNForDBID(DBID id, int k)
id
- query object IDk
- number of neighbors requestedList<DistanceResultPair<D>> getRKNNForObject(O obj, int k)
obj
- query object instancek
- number of neighbors requestedList<List<DistanceResultPair<D>>> getRKNNForBulkDBIDs(ArrayDBIDs ids, int k)
ids
- query object IDsk
- number of neighbors requestedD getDistanceFactory()