
O - Database object typeD - Distance typepublic class LinearScanPrimitiveDistanceRangeQuery<O,D extends Distance<D>> extends LinearScanRangeQuery<O,D>
distanceQueryrelationHINT_BULK, HINT_EXACT, HINT_HEAVY_USE, HINT_NO_CACHE, HINT_OPTIMIZED_ONLY, HINT_SINGLE| Constructor and Description | 
|---|
| LinearScanPrimitiveDistanceRangeQuery(PrimitiveDistanceQuery<O,D> distanceQuery)Constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| DistanceDBIDResult<D> | getRangeForDBID(DBIDRef id,
               D range)Get the nearest neighbors for a particular id in a given query range | 
getRangeForObjectgetRelationpublic LinearScanPrimitiveDistanceRangeQuery(PrimitiveDistanceQuery<O,D> distanceQuery)
distanceQuery - Distance function to usepublic DistanceDBIDResult<D> getRangeForDBID(DBIDRef id, D range)
RangeQuerygetRangeForDBID in interface RangeQuery<O,D extends Distance<D>>getRangeForDBID in class LinearScanRangeQuery<O,D extends Distance<D>>id - query object IDrange - Query range