public class VAFile.VAFileRangeQuery extends AbstractRefiningIndex.AbstractRangeQuery<DoubleDistance>
Modifier and Type | Field and Description |
---|---|
(package private) double |
p
LP Norm p parameter.
|
distanceQuery
relation
HINT_BULK, HINT_EXACT, HINT_HEAVY_USE, HINT_NO_CACHE, HINT_OPTIMIZED_ONLY, HINT_SINGLE
Constructor and Description |
---|
VAFile.VAFileRangeQuery(DistanceQuery<V,DoubleDistance> distanceQuery,
double p)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
DoubleDistanceDBIDPairList |
getRangeForObject(V query,
DoubleDistance range)
Get the nearest neighbors for a particular object in a given query range
|
incRefinements, refine
getDistanceFactory, getRangeForDBID
getRelation
public VAFile.VAFileRangeQuery(DistanceQuery<V,DoubleDistance> distanceQuery, double p)
distanceQuery
- Distance query objectp
- LP norm ppublic DoubleDistanceDBIDPairList getRangeForObject(V query, DoubleDistance range)
RangeQuery
getRangeForObject
in interface RangeQuery<V extends NumberVector<?>,DoubleDistance>
getRangeForObject
in class AbstractDistanceRangeQuery<V extends NumberVector<?>,DoubleDistance>
query
- Query objectrange
- Query range