Package elki.database.query.distance
Class LinearScanPrioritySearcher.ByObject<O>
- java.lang.Object
-
- elki.database.query.distance.LinearScanPrioritySearcher<O,O>
-
- elki.database.query.distance.LinearScanPrioritySearcher.ByObject<O>
-
- Type Parameters:
O
- Relation type
- All Implemented Interfaces:
DBIDIter
,DBIDRef
,KNNSearcher<O>
,LinearScanQuery
,PrioritySearcher<O>
,RangeSearcher<O>
,Iter
- Enclosing class:
- LinearScanPrioritySearcher<Q,O>
public static class LinearScanPrioritySearcher.ByObject<O> extends LinearScanPrioritySearcher<O,O>
Search by Object.- Author:
- Erich Schubert
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class elki.database.query.distance.LinearScanPrioritySearcher
LinearScanPrioritySearcher.ByDBID<O>, LinearScanPrioritySearcher.ByObject<O>
-
-
Field Summary
-
Fields inherited from class elki.database.query.distance.LinearScanPrioritySearcher
curdist, distanceQuery, iter, query
-
-
Constructor Summary
Constructors Constructor Description ByObject(DistanceQuery<O> distanceQuery)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrioritySearcher<O>
search(O query)
Start search with a new object.-
Methods inherited from class elki.database.query.distance.LinearScanPrioritySearcher
advance, allLowerBound, computeExactDistance, decreaseCutoff, getApproximateAccuracy, getApproximateDistance, getLowerBound, getUpperBound, internalGetIndex, realSearch, 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
getKNN, getRange, search
-
Methods inherited from interface elki.database.query.range.RangeSearcher
getRange
-
-
-
-
Constructor Detail
-
ByObject
public ByObject(DistanceQuery<O> distanceQuery)
Constructor.- Parameters:
distanceQuery
- distance query
-
-
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
-
-