Skip to main content
QUICK REVIEW

[Paper Review] Approximating the Packedness of Polygonal Curves

Joachim Gudmundsson, Yuan Sha|arXiv (Cornell University)|Jan 1, 2020
Computational Geometry and Mesh GenerationComputer Science2 citations
TL;DR

This paper presents two approximation algorithms for computing the smallest c such that a polygonal curve in ℝᵈ is c-packed, using a cube-based definition of packedness. The first is a 2-approximation in O(dn² log n) time, and for d=2, a faster (6+ε)-approximation in O((n/ε³)^{4/3} polylog(n/ε)) time. Experiments on 16 real-world trajectory datasets confirm c-packedness is a practical input model.

ABSTRACT

In 2012 Driemel et al. [Anne Driemel et al., 2012] introduced the concept of c-packed curves as a realistic input model. In the case when c is a constant they gave a near linear time (1+ε)-approximation algorithm for computing the Fréchet distance between two c-packed polygonal curves. Since then a number of papers have used the model. In this paper we consider the problem of computing the smallest c for which a given polygonal curve in ℝ^d is c-packed. We present two approximation algorithms. The first algorithm is a 2-approximation algorithm and runs in O(dn² log n) time. In the case d = 2 we develop a faster algorithm that returns a (6+ε)-approximation and runs in O((n/ε³)^{4/3} polylog (n/ε))) time. We also implemented the first algorithm and computed the approximate packedness-value for 16 sets of real-world trajectories. The experiments indicate that the notion of c-packedness is a useful realistic input model for many curves and trajectories.

Motivation & Objective

  • To compute the smallest c for which a given polygonal curve in ℝᵈ is c-packed, enabling better algorithmic performance analysis.
  • To develop efficient approximation algorithms for packedness computation, avoiding the high complexity of exact methods.
  • To evaluate whether real-world trajectories satisfy the c-packedness property for small, practical values of c.
  • To provide a practical and theoretically grounded input model for curve processing algorithms.

Proposed method

  • Uses a cube-based definition of c-packedness: for any axis-aligned cube S of side length r, the curve length inside S is at most c·r.
  • Employs a hierarchical decomposition of space using a modified segment tree as a primary data structure.
  • For each internal node in the segment tree, maintains associated data structures to efficiently estimate curve length within query cubes.
  • Applies geometric partitioning and range counting techniques, including Agarwal's O(n^{4/3})-time algorithm for red-blue segment intersections.
  • Uses a two-level data structure with Type C nodes to maintain upper bounds on curve length in query cubes, ensuring (6+ε)-approximation in 2D.
  • Implements the 2-approximation algorithm and evaluates it on 16 real-world trajectory datasets.

Experimental results

Research questions

  • RQ1Can we compute the minimum c for which a polygonal curve is c-packed in sub-cubic time?
  • RQ2Is the c-packedness model practically relevant for real-world trajectories?
  • RQ3Can we achieve a faster (6+ε)-approximation for 2D curves compared to the general d-dimensional algorithm?
  • RQ4How does the cube-based definition of c-packedness compare to the original ball-based definition in terms of approximation quality?
  • RQ5What is the empirical packedness value of real-world trajectories, and does it support the use of c-packedness as a realistic input model?

Key findings

  • The paper presents a 2-approximation algorithm for c-packedness in O(dn² log n) time, which is sub-cubic for d ≥ 3.
  • For 2D curves, a (6+ε)-approximation algorithm runs in O((n/ε³)^{4/3} polylog(n/ε)) time, significantly faster than the general case.
  • The 2-approximation algorithm was implemented and tested on 16 real-world trajectory datasets, showing that most trajectories are c-packed for small c.
  • The experiments indicate that c-packedness is a useful and realistic input model for practical trajectory data.
  • The cube-based definition of c-packedness yields a (6+ε)-approximation in 2D, with the approximation factor bounded by a constant independent of n.
  • The theoretical analysis confirms that the data structure supports efficient query time O(log(n/ε²)) per query, with a total construction time dominated by O((n/ε³)^{4/3} polylog(n/ε)) for the 2D case.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.