Package elki.index.tree.metrical.vptree
Class VPTree.VPTreeRangeSearcher
- java.lang.Object
-
- elki.index.tree.metrical.vptree.VPTree.VPTreeRangeSearcher
-
- Direct Known Subclasses:
VPTree.VPTreeRangeDBIDSearcher
,VPTree.VPTreeRangeObjectSearcher
public abstract static class VPTree.VPTreeRangeSearcher extends java.lang.Object
Range search for the VP-tree.- Author:
- Robert Gehde, Erich Schubert
-
-
Constructor Summary
Constructors Constructor Description VPTreeRangeSearcher()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract double
queryDistance(DBIDRef p)
Compute the distance to a candidate object.protected void
vpRangeSearch(ModifiableDoubleDBIDList result, VPTree.Node node, double range)
Recursive search function.
-
-
-
Method Detail
-
vpRangeSearch
protected void vpRangeSearch(ModifiableDoubleDBIDList result, VPTree.Node node, double range)
Recursive search function.- Parameters:
result
- Result outputnode
- Current noderange
- Search radius
-
queryDistance
protected abstract double queryDistance(DBIDRef p)
Compute the distance to a candidate object.- Parameters:
p
- Object- Returns:
- Distance
-
-