Class ProjectedIndex.ProjectedRKNNByDBID

    • Constructor Detail

      • ProjectedRKNNByDBID

        public ProjectedRKNNByDBID​(DistanceQuery<O> distanceQuery,
                                   RKNNSearcher<I> inner)
        Constructor.
        Parameters:
        inner - Inner RkNN query.
    • Method Detail

      • getRKNN

        public DoubleDBIDList getRKNN​(DBIDRef id,
                                      int k)
        Description copied from interface: RKNNSearcher
        Get the reverse k nearest neighbors for a particular object.
        Specified by:
        getRKNN in interface RKNNSearcher<DBIDRef>
        Parameters:
        id - query object
        k - number of neighbors requested
        Returns:
        reverse k nearest neighbors