docs: private boolean add(DBIDRef cur, DBIDRef cand, double distance) {
      KNNHeap neighbors = store.get(cur);
      if(neighbors.contains(cand)) {
        return false;
      }
      double newKDistance = neighbors.insert(distance, cand);
      return (distance <= newKDistance);
    }