How Packed Is It, Really?
Sariel Har-Peled, Timothy Zhou
TL;DR
This work addresses the problem of estimating the congestion of planar curves, a measure of local zigzagging defined via $c$-packedness. It introduces a randomized $42$-approximation algorithm that runs in $O(n\log^3 n)$ time with high probability, significantly speeding beyond the prior $\tilde{O}(n^{4/3})$-time algorithms. The approach partitions the input into short and long segments and reduces the problem to a small number of quadtrees, using a combination of square-based representations, dynamic programming on the short part, and an exponential-search with random sampling to bound the long part. The result yields near-linear-time, constant-factor congestion estimates useful for efficient Fréchet-distance approximations and related problems, with potential extensions to higher dimensions and practical implementations.
Abstract
The congestion of a curve is a measure of how much it zigzags around locally. More precisely, a curve $π$ is $c$-packed if the length of the curve lying inside any ball is at most $c$ times the radius of the ball, and its congestion is the minimum $c$ for which $π$ is $c$-packed. This paper presents a randomized $42$-approximation algorithm for computing the congestion of a curve (or any set of segments in the plane). It runs in $O( n \log^2 n)$ time and succeeds with high probability. Although the approximation factor is large, the running time improves over the previous fastest constant approximation algorithm, which took $\widetilde{O}(n^{4/3})$ time. We carefully combine new ideas with known techniques to obtain our new near-linear time algorithm.
