private class PrecomputedDistanceMatrix.PrecomputedRangeQuery extends java.lang.Object implements RangeQuery<O>
HINT_BULK, HINT_EXACT, HINT_HEAVY_USE, HINT_NO_CACHE, HINT_OPTIMIZED_ONLY, HINT_SINGLE
Modifier | Constructor and Description |
---|---|
private |
PrecomputedRangeQuery() |
Modifier and Type | Method and Description |
---|---|
DoubleDBIDList |
getRangeForDBID(DBIDRef id,
double range)
Get the neighbors for a particular id in a given query range
|
void |
getRangeForDBID(DBIDRef id,
double range,
ModifiableDoubleDBIDList result)
Get the neighbors for a particular object in a given query range
|
DoubleDBIDList |
getRangeForObject(O obj,
double range)
Get the neighbors for a particular object in a given query range
|
void |
getRangeForObject(O obj,
double range,
ModifiableDoubleDBIDList result)
Get the neighbors for a particular object in a given query range
|
public DoubleDBIDList getRangeForDBID(DBIDRef id, double range)
RangeQuery
getRangeForDBID
in interface RangeQuery<O>
id
- query object IDrange
- Query rangepublic void getRangeForDBID(DBIDRef id, double range, ModifiableDoubleDBIDList result)
RangeQuery
getRangeForDBID
in interface RangeQuery<O>
id
- query object IDrange
- Query rangeresult
- Neighbors output setpublic DoubleDBIDList getRangeForObject(O obj, double range)
RangeQuery
getRangeForObject
in interface RangeQuery<O>
obj
- Query objectrange
- Query rangepublic void getRangeForObject(O obj, double range, ModifiableDoubleDBIDList result)
RangeQuery
getRangeForObject
in interface RangeQuery<O>
obj
- Query objectrange
- Query rangeresult
- Neighbors output setCopyright © 2019 ELKI Development Team. License information.