Package elki.index.tree.metrical.vptree
Class GNAT.GNATPriorityDBIDSearcher
- java.lang.Object
-
- elki.index.tree.metrical.vptree.GNAT.GNATPrioritySearcher<DBIDRef>
-
- elki.index.tree.metrical.vptree.GNAT.GNATPriorityDBIDSearcher
-
- All Implemented Interfaces:
DBIDIter
,DBIDRef
,KNNSearcher<DBIDRef>
,PrioritySearcher<DBIDRef>
,RangeSearcher<DBIDRef>
,Iter
public class GNAT.GNATPriorityDBIDSearcher extends GNAT.GNATPrioritySearcher<DBIDRef>
Range search for the VP-tree.- Author:
- Robert Gehde, Erich Schubert
-
-
Constructor Summary
Constructors Constructor Description GNATPriorityDBIDSearcher()
-
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<DBIDRef>
search(DBIDRef 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 DBIDRef query
Current query object
-
-
Method Detail
-
search
public PrioritySearcher<DBIDRef> search(DBIDRef 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<DBIDRef>
- Parameters:
p
- Target object- Returns:
- Distance
-
-