Package elki.index.distancematrix
Class PrecomputedSimilarityMatrix.PrecomputedSimilarityRangeQuery
- java.lang.Object
-
- elki.index.distancematrix.PrecomputedSimilarityMatrix.PrecomputedSimilarityRangeQuery
-
- All Implemented Interfaces:
RangeSearcher<DBIDRef>
- Enclosing class:
- PrecomputedSimilarityMatrix<O>
private class PrecomputedSimilarityMatrix.PrecomputedSimilarityRangeQuery extends java.lang.Object implements RangeSearcher<DBIDRef>
Range query using the distance matrix.- Author:
- Erich Schubert
-
-
Constructor Summary
Constructors Modifier Constructor Description private
PrecomputedSimilarityRangeQuery()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ModifiableDoubleDBIDList
getRange(DBIDRef id, double range, ModifiableDoubleDBIDList result)
Get the neighbors for a particular id in a given query range.-
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
-
-
-
-
Method Detail
-
getRange
public ModifiableDoubleDBIDList getRange(DBIDRef id, double range, ModifiableDoubleDBIDList result)
Description copied from interface:RangeSearcher
Get the neighbors for a particular id in a given query range.- Specified by:
getRange
in interfaceRangeSearcher<DBIDRef>
- Parameters:
id
- query object IDrange
- Query rangeresult
- Output data structure- Returns:
- neighbors
-
-