Package elki.index.tree.metrical.vptree
Class GNAT.GNATPriorityObjectSearcher
- java.lang.Object
-
- elki.index.tree.metrical.vptree.GNAT.GNATPrioritySearcher<O>
-
- elki.index.tree.metrical.vptree.GNAT.GNATPriorityObjectSearcher
-
- All Implemented Interfaces:
DBIDIter
,DBIDRef
,KNNSearcher<O>
,PrioritySearcher<O>
,RangeSearcher<O>
,Iter
public class GNAT.GNATPriorityObjectSearcher extends GNAT.GNATPrioritySearcher<O>
Range search for the VP-tree.- Author:
- Robert Gehde, Erich Schubert
-
-
Constructor Summary
Constructors Constructor Description GNATPriorityObjectSearcher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected double
queryDistance(DBIDRef p)
Query the distance to a query object.PrioritySearcher<O>
search(O query)
Start search with a new object.-
Methods inherited from class elki.index.tree.metrical.vptree.GNAT.GNATPrioritySearcher
advance, allLowerBound, computeExactDistance, decreaseCutoff, doSearch, getLowerBound, internalGetIndex, valid
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface elki.database.query.PrioritySearcher
getApproximateAccuracy, getApproximateDistance, getKNN, getRange, getUpperBound, search
-
Methods inherited from interface elki.database.query.range.RangeSearcher
getRange
-
-
-
-
Field Detail
-
query
private O query
Current query object
-
-
Method Detail
-
search
public PrioritySearcher<O> search(O query)
Description copied from interface:PrioritySearcher
Start search with a new object.- Parameters:
query
- Query object- Returns:
this
, for chaining
-
queryDistance
protected double queryDistance(DBIDRef p)
Description copied from class:GNAT.GNATPrioritySearcher
Query the distance to a query object.- Specified by:
queryDistance
in classGNAT.GNATPrioritySearcher<O>
- Parameters:
p
- Target object- Returns:
- Distance
-
-