Package elki.index.laesa
Class LAESA.LAESARangeByDBIDSearcher
- java.lang.Object
-
- elki.index.laesa.LAESA.LAESARangeSearcher<DBIDRef>
-
- elki.index.laesa.LAESA.LAESARangeByDBIDSearcher
-
- All Implemented Interfaces:
RangeSearcher<DBIDRef>
public class LAESA.LAESARangeByDBIDSearcher extends LAESA.LAESARangeSearcher<DBIDRef>
Range searcher by DBID class- Author:
- Robert Gehde
-
-
Constructor Summary
Constructors Constructor Description LAESARangeByDBIDSearcher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ModifiableDoubleDBIDList
getRange(DBIDRef query, double range, ModifiableDoubleDBIDList result)
Get the neighbors for a particular id in a given query range.protected double
queryDistance(DBIDRef ref)
Compute the distance to a candidate object.-
Methods inherited from class elki.index.laesa.LAESA.LAESARangeSearcher
laesaRangeSearch
-
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.range.RangeSearcher
getRange
-
-
-
-
Field Detail
-
query
private DBIDRef query
Query object
-
-
Method Detail
-
getRange
public ModifiableDoubleDBIDList getRange(DBIDRef query, double range, ModifiableDoubleDBIDList result)
Description copied from interface:RangeSearcher
Get the neighbors for a particular id in a given query range.- Parameters:
query
- query object IDrange
- Query rangeresult
- Output data structure- Returns:
- neighbors
-
queryDistance
protected double queryDistance(DBIDRef ref)
Description copied from class:LAESA.LAESARangeSearcher
Compute the distance to a candidate object.- Specified by:
queryDistance
in classLAESA.LAESARangeSearcher<DBIDRef>
- Parameters:
ref
- Object reference- Returns:
- Distance
-
-