Class SimplifiedCoverTree.CoverTreeKNNSearcher
- java.lang.Object
-
- elki.index.tree.metrical.covertree.SimplifiedCoverTree.CoverTreeKNNSearcher
-
- Direct Known Subclasses:
SimplifiedCoverTree.CoverTreeKNNDBIDSearcher
,SimplifiedCoverTree.CoverTreeKNNObjectSearcher
- Enclosing class:
- SimplifiedCoverTree<O>
public abstract class SimplifiedCoverTree.CoverTreeKNNSearcher extends java.lang.Object
KNN Query class.- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description private DoubleObjectMinHeap<SimplifiedCoverTree.Node>
pq
Priority queue of candidates.private DBIDVar
tmp
Temporary storage.
-
Constructor Summary
Constructors Constructor Description CoverTreeKNNSearcher()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected KNNList
doSearch(int k)
Do the main searchprotected abstract double
queryDistance(DBIDRef it)
Compute distance to query object.
-
-
-
Field Detail
-
pq
private DoubleObjectMinHeap<SimplifiedCoverTree.Node> pq
Priority queue of candidates.
-
tmp
private DBIDVar tmp
Temporary storage.
-
-