public abstract class AbstractRKNNQuery<O> extends java.lang.Object implements RKNNQuery<O>
Modifier and Type | Field and Description |
---|---|
protected DistanceQuery<O> |
distanceQuery
Hold the distance function to be used.
|
protected Relation<? extends O> |
relation
The data to use for this query
|
HINT_BULK, HINT_EXACT, HINT_HEAVY_USE, HINT_NO_CACHE, HINT_OPTIMIZED_ONLY, HINT_SINGLE
Constructor and Description |
---|
AbstractRKNNQuery(DistanceQuery<O> distanceQuery)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
abstract DoubleDBIDList |
getRKNNForDBID(DBIDRef id,
int k)
Get the reverse k nearest neighbors for a particular id.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRKNNForBulkDBIDs, getRKNNForObject
protected final DistanceQuery<O> distanceQuery
public AbstractRKNNQuery(DistanceQuery<O> distanceQuery)
distanceQuery
- distance querypublic abstract DoubleDBIDList getRKNNForDBID(DBIDRef id, int k)
RKNNQuery
getRKNNForDBID
in interface RKNNQuery<O>
id
- query object IDk
- number of neighbors requestedCopyright © 2019 ELKI Development Team. License information.