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

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

public interface RKNNIndex<O>
extends Index

Index with support for kNN queries.


Method Summary
<D extends Distance<D>>
RKNNQuery<O,D>
getRKNNQuery(DistanceQuery<O,D> distanceQuery, Object... hints)
          Get a KNN 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

getRKNNQuery

<D extends Distance<D>> RKNNQuery<O,D> getRKNNQuery(DistanceQuery<O,D> distanceQuery,
                                                    Object... hints)
Get a KNN 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)