Class LAESA.LAESAKNNByDBIDSearcher

    • Field Detail

      • query

        private DBIDRef query
        Query object
    • Constructor Detail

      • LAESAKNNByDBIDSearcher

        public LAESAKNNByDBIDSearcher​(int k)
        Constructor.
        Parameters:
        k - condition parameter
    • Method Detail

      • getKNN

        public KNNList getKNN​(DBIDRef query,
                              int k)
        Description copied from interface: KNNSearcher
        Get the k nearest neighbors for a particular object.
        Parameters:
        query - query object
        k - Number of neighbors requested
        Returns:
        neighbors