de.lmu.ifi.dbs.elki.index
Interface RangeIndex<O>

Type Parameters:
O - Database Object type
All Superinterfaces:
Index, Result
All Known Implementing Classes:
DeLiCluTreeIndex, MkAppTreeIndex, MkCoPTreeIndex, MkMaxTreeIndex, MkTabTreeIndex, MTreeIndex, RStarTreeIndex

public interface RangeIndex<O>
extends Index

Index with support for kNN queries.


Method Summary
<D extends Distance<D>>
RangeQuery<O,D>
getRangeQuery(DistanceQuery<O,D> distanceQuery, Object... hints)
          Get a range query object for the given distance query and k.
 
Methods inherited from interface de.lmu.ifi.dbs.elki.index.Index
delete, deleteAll, getPageFileStatistics, insert, insertAll
 
Methods inherited from interface de.lmu.ifi.dbs.elki.result.Result
getLongName, getShortName
 

Method Detail

getRangeQuery

<D extends Distance<D>> RangeQuery<O,D> getRangeQuery(DistanceQuery<O,D> distanceQuery,
                                                      Object... hints)
Get a range query object for the given distance query and k. This function MAY return null, when the given distance is not supported!

Type Parameters:
D - Distance type
Parameters:
distanceQuery - Distance query
hints - Hints for the optimizer
Returns:
KNN Query object or null

Release 0.4.0 (2011-09-20_1324)