public abstract class AbstractRKNNQuery<O,D extends Distance<D>> extends AbstractDataBasedQuery<O> implements RKNNQuery<O,D>
Modifier and Type | Field and Description |
---|---|
protected DistanceQuery<O,D> |
distanceQuery
Hold the distance function to be used.
|
relation
HINT_BULK, HINT_EXACT, HINT_HEAVY_USE, HINT_NO_CACHE, HINT_OPTIMIZED_ONLY, HINT_SINGLE
Constructor and Description |
---|
AbstractRKNNQuery(DistanceQuery<O,D> distanceQuery)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
abstract DistanceDBIDList<D> |
getRKNNForDBID(DBIDRef id,
int k)
Get the reverse k nearest neighbors for a particular id.
|
getRelation
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRKNNForBulkDBIDs, getRKNNForObject
protected final DistanceQuery<O,D extends Distance<D>> distanceQuery
public AbstractRKNNQuery(DistanceQuery<O,D> distanceQuery)
distanceQuery
- distance querypublic abstract DistanceDBIDList<D> getRKNNForDBID(DBIDRef id, int k)
RKNNQuery