Package elki.index.laesa
Class LAESA.LAESARangeByObjectSearcher
- java.lang.Object
-
- elki.index.laesa.LAESA.LAESARangeSearcher<O>
-
- elki.index.laesa.LAESA.LAESARangeByObjectSearcher
-
- All Implemented Interfaces:
RangeSearcher<O>
public class LAESA.LAESARangeByObjectSearcher extends LAESA.LAESARangeSearcher<O>
Range searcher by object class- Author:
- Robert Gehde
-
-
Constructor Summary
Constructors Constructor Description LAESARangeByObjectSearcher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ModifiableDoubleDBIDListgetRange(O query, double range, ModifiableDoubleDBIDList result)Get the neighbors for a particular id in a given query range.protected doublequeryDistance(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 O query
Query object
-
-
Method Detail
-
getRange
public ModifiableDoubleDBIDList getRange(O query, double range, ModifiableDoubleDBIDList result)
Description copied from interface:RangeSearcherGet 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.LAESARangeSearcherCompute the distance to a candidate object.- Specified by:
queryDistancein classLAESA.LAESARangeSearcher<O>- Parameters:
ref- Object reference- Returns:
- Distance
-
-