O
- Object typepublic interface KNNQuery<O> extends DatabaseQuery
HINT_BULK, HINT_EXACT, HINT_HEAVY_USE, HINT_NO_CACHE, HINT_OPTIMIZED_ONLY, HINT_SINGLE
Modifier and Type | Method and Description |
---|---|
List<? extends KNNList> |
getKNNForBulkDBIDs(ArrayDBIDs ids,
int k)
Bulk query method
|
KNNList |
getKNNForDBID(DBIDRef id,
int k)
Get the k nearest neighbors for a particular id.
|
KNNList |
getKNNForObject(O obj,
int k)
Get the k nearest neighbors for a particular id.
|
KNNList getKNNForDBID(DBIDRef id, int k)
id
- query object IDk
- Number of neighbors requestedList<? extends KNNList> getKNNForBulkDBIDs(ArrayDBIDs ids, int k)
ids
- query object IDsk
- Number of neighbors requestedCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.