Class InMemoryLSHIndex.Instance.LSHKNNQuery

  • All Implemented Interfaces:
    elki.database.query.knn.KNNSearcher<V>
    Enclosing class:
    InMemoryLSHIndex.Instance

    protected class InMemoryLSHIndex.Instance.LSHKNNQuery
    extends elki.index.AbstractRefiningIndex.AbstractRefiningQuery
    implements elki.database.query.knn.KNNSearcher<V>
    Class for handling kNN queries against the LSH index.
    Author:
    Erich Schubert
    • Field Summary

      • Fields inherited from class elki.index.AbstractRefiningIndex.AbstractRefiningQuery

        distanceQuery
    • Constructor Summary

      Constructors 
      Constructor Description
      LSHKNNQuery​(elki.database.query.distance.DistanceQuery<V> distanceQuery)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      elki.database.ids.KNNList getKNN​(V obj, int k)  
      • 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
    • Constructor Detail

      • LSHKNNQuery

        public LSHKNNQuery​(elki.database.query.distance.DistanceQuery<V> distanceQuery)
        Constructor.
        Parameters:
        distanceQuery -
    • Method Detail

      • getKNN

        public elki.database.ids.KNNList getKNN​(V obj,
                                                int k)
        Specified by:
        getKNN in interface elki.database.query.knn.KNNSearcher<V>