protected class InMemoryInvertedIndex.CosineRangeQuery extends AbstractDistanceRangeQuery<V>
distanceQuery, relation
HINT_BULK, HINT_EXACT, HINT_HEAVY_USE, HINT_NO_CACHE, HINT_OPTIMIZED_ONLY, HINT_SINGLE
Constructor and Description |
---|
CosineRangeQuery(DistanceQuery<V> distanceQuery)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
getRangeForObject(V obj,
double range,
ModifiableDoubleDBIDList result)
Get the neighbors for a particular object in a given query range
|
getRangeForDBID, getRangeForDBID, getRangeForObject
public CosineRangeQuery(DistanceQuery<V> distanceQuery)
distanceQuery
- Distance querypublic void getRangeForObject(V obj, double range, ModifiableDoubleDBIDList result)
RangeQuery
obj
- Query objectrange
- Query rangeresult
- Neighbors output setCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.