A Practical Approach for Computing the Diameter of a Point Set
Sariel Har-Peled
TL;DR
This work addresses the practical computation of the diameter of a point set in $\mathbb{R}^d$ by introducing a simple, robust approximation algorithm that often yields the exact diameter quickly. The approach maintains a hierarchical fair-split decomposition and a dynamic candidate set, yielding a $(1-\\varepsilon)$-approximation in $O((n + 1/\\varepsilon^{3})\\log{1/\\varepsilon})$ time in 3D and extending to higher dimensions, with refined analyses giving improved bounds for related variants. Empirically, the method dominates many prior schemes on real-world inputs and offers flexible trade-offs between accuracy and speed, while remaining implementable within hours. The results highlight the practical ease of use and the algorithm’s adaptability to input hardness, suggesting it as a practical default for diameter computations in applied settings.
Abstract
We present an approximation algorithm for computing the diameter of a point-set in $\Re^d$. The new algorithm is sensitive to the ``hardness'' of computing the diameter of the given input, and for most inputs it is able to compute the exact diameter extremely fast. The new algorithm is simple, robust, has good empirical performance, and can be implemented quickly. As such, it seems to be the algorithm of choice in practice for computing/approximating the diameter.
