O
- Object typeD
- Distance typepublic interface RangeQuery<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 factory for the given distance type.
|
DistanceDBIDList<D> |
getRangeForDBID(DBIDRef id,
D range)
Get the nearest neighbors for a particular id in a given query range
|
DistanceDBIDList<D> |
getRangeForObject(O obj,
D range)
Get the nearest neighbors for a particular object in a given query range
|
DistanceDBIDList<D> getRangeForDBID(DBIDRef id, D range)
id
- query object IDrange
- Query rangeDistanceDBIDList<D> getRangeForObject(O obj, D range)
obj
- Query objectrange
- Query rangeD getDistanceFactory()