Package elki.index.idistance
Class InMemoryIDistanceIndex.IDistanceRangeSearcher
- java.lang.Object
-
- elki.index.AbstractRefiningIndex.AbstractRefiningQuery
-
- elki.index.idistance.InMemoryIDistanceIndex.IDistanceRangeSearcher
-
- All Implemented Interfaces:
RangeSearcher<O>
- Enclosing class:
- InMemoryIDistanceIndex<O>
protected class InMemoryIDistanceIndex.IDistanceRangeSearcher extends AbstractRefiningIndex.AbstractRefiningQuery implements RangeSearcher<O>
Exact range query implementation.- Author:
- Erich Schubert
-
-
Field Summary
-
Fields inherited from class elki.index.AbstractRefiningIndex.AbstractRefiningQuery
distanceQuery
-
-
Constructor Summary
Constructors Constructor Description IDistanceRangeSearcher(DistanceQuery<O> distanceQuery)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ModifiableDoubleDBIDListgetRange(O obj, double range, ModifiableDoubleDBIDList result)Get the neighbors for a particular id in a given query range.-
Methods inherited from class elki.index.AbstractRefiningIndex.AbstractRefiningQuery
incRefinements, refine
-
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
-
-
-
-
Constructor Detail
-
IDistanceRangeSearcher
public IDistanceRangeSearcher(DistanceQuery<O> distanceQuery)
Constructor.- Parameters:
distanceQuery- Distance query
-
-
Method Detail
-
getRange
public ModifiableDoubleDBIDList getRange(O obj, double range, ModifiableDoubleDBIDList result)
Description copied from interface:RangeSearcherGet the neighbors for a particular id in a given query range.- Specified by:
getRangein interfaceRangeSearcher<O>- Parameters:
obj- query object IDrange- Query rangeresult- Output data structure- Returns:
- neighbors
-
-