D
- Distance typeclass ProjectedIndex.ProjectedRKNNQuery<D extends Distance<D>> extends Object implements RKNNQuery<O,D>
Modifier and Type | Field and Description |
---|---|
(package private) DistanceQuery<O,D> |
distq
Distance query for refinement.
|
(package private) RKNNQuery<I,D> |
inner
Inner RkNN query.
|
HINT_BULK, HINT_EXACT, HINT_HEAVY_USE, HINT_NO_CACHE, HINT_OPTIMIZED_ONLY, HINT_SINGLE
Constructor and Description |
---|
ProjectedIndex.ProjectedRKNNQuery(DistanceQuery<O,D> distanceQuery,
RKNNQuery<I,D> inner)
Constructor.
|
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.
|
DistanceQuery<O,D extends Distance<D>> distq
public DistanceDBIDList<D> getRKNNForDBID(DBIDRef id, int k)
RKNNQuery
public DistanceDBIDList<D> getRKNNForObject(O obj, int k)
RKNNQuery
public List<? extends DistanceDBIDList<D>> getRKNNForBulkDBIDs(ArrayDBIDs ids, int k)
RKNNQuery