Class VPTree.VPTreeKNNSearcher

    • Constructor Detail

      • VPTreeKNNSearcher

        public VPTreeKNNSearcher()
    • Method Detail

      • vpKNNSearch

        protected double vpKNNSearch​(KNNHeap knns,
                                     VPTree.Node node)
        Recursive search function
        Parameters:
        knns - Current kNN results
        node - Current node
        Returns:
        New tau
      • queryDistance

        protected abstract double queryDistance​(DBIDRef p)
        Compute the distance to a candidate object.
        Parameters:
        p - Object
        Returns:
        Distance