English

Approximating the Directed Hausdorff Distance

Computational Geometry 2025-05-16 v2

Abstract

The Hausdorff distance is a metric commonly used to compute the set similarity of geometric sets. For sets containing a total of nn points, the exact distance can be computed na\"{i}vely in O(n2)O(n^2) time. In this paper, we show how to preprocess point sets individually so that the Hausdorff distance of any pair can then be approximated in linear time. We assume that the metric is doubling. The preprocessing time for each set is O(nlogΔ)O(n\log \Delta) where Δ\Delta is the ratio of the largest to smallest pairwise distances of the input. In theory, this can be reduced to O(nlogn)O(n\log n) time using a much more complicated algorithm. We compute (1+ε)(1+\varepsilon)-approximate Hausdorff distance in (2+1ε)O(d)n(2 + \frac{1}{\varepsilon})^{O(d)}n time in a metric space with doubling dimension dd. The kk-partial Hausdorff distance ignores kk outliers to increase stability. Additionally, we give a linear-time algorithm to compute directed kk-partial Hausdorff distance for all values of kk at once with no change to the preprocessing.

Keywords

Cite

@article{arxiv.2505.09046,
  title  = {Approximating the Directed Hausdorff Distance},
  author = {Oliver A. Chubet and Parth M. Parikh and Donald R. Sheehy and Siddharth S. Sheth},
  journal= {arXiv preprint arXiv:2505.09046},
  year   = {2025}
}
R2 v1 2026-06-28T23:32:25.232Z