Package elki.index.vafile
Class VAFile.VAFileRangeQuery
- java.lang.Object
-
- elki.index.AbstractRefiningIndex.AbstractRefiningQuery
-
- elki.index.vafile.VAFile.VAFileRangeQuery
-
- All Implemented Interfaces:
RangeSearcher<V>
- Enclosing class:
- VAFile<V extends NumberVector>
public class VAFile.VAFileRangeQuery extends AbstractRefiningIndex.AbstractRefiningQuery implements RangeSearcher<V>
Range query for this index.- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description (package private) double
p
LP Norm p parameter.-
Fields inherited from class elki.index.AbstractRefiningIndex.AbstractRefiningQuery
distanceQuery
-
-
Constructor Summary
Constructors Constructor Description VAFileRangeQuery(DistanceQuery<V> distanceQuery, double p)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ModifiableDoubleDBIDList
getRange(V query, double eps, ModifiableDoubleDBIDList result)
Get the neighbors for a particular id in a given query range.-
Methods inherited from class elki.index.AbstractRefiningIndex.AbstractRefiningQuery
incRefinements, refine
-
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
-
-
-
-
Constructor Detail
-
VAFileRangeQuery
public VAFileRangeQuery(DistanceQuery<V> distanceQuery, double p)
Constructor.- Parameters:
distanceQuery
- Distance query objectp
- LP norm p
-
-
Method Detail
-
getRange
public ModifiableDoubleDBIDList getRange(V query, double eps, ModifiableDoubleDBIDList result)
Description copied from interface:RangeSearcher
Get the neighbors for a particular id in a given query range.- Specified by:
getRange
in interfaceRangeSearcher<V extends NumberVector>
- Parameters:
query
- query object IDeps
- Query rangeresult
- Output data structure- Returns:
- neighbors
-
-