Computing The Packedness of Curves

Sepideh Aghamolaei, Vahideh Keikha, Mohammad Ghodsi, Ali Mohades
12/8/2020
cs.CG

Official code: saghamolaei/Packedness (0 stars, C++, last commit 2022-02-22).

Abstract

A polygonal curve $P$ with $n$ vertices is $c$-packed, if the sum of the lengths of the parts of the edges of the curve that are inside any disk of radius $r$ is at most $cr$, for any $r>0$. Similarly, the concept of $c$-packedness can be defined for any scaling of a given shape.

Show full abstract

Assuming $L$ is the diameter of $P$ and $δ$ is the minimum distance between points on disjoint edges of $P$, we show the approximation factor of the existing $O(\frac{\log (L/δ)}εn^3)$ time algorithm is $1+ε$-approximation algorithm. The massively parallel versions of these algorithms run in $O(\log (L/δ))$ rounds. We improve the existing $O((\frac{n}{ε^3})^{\frac 4 3}\polylog \frac n ε)$ time $(6+ε)$-approximation algorithm by providing a $(4+ε)$-approximation $O(n(\log^2 n)(\log^2 \frac{1}ε)+\frac{n}ε)$ time algorithm, and the existing $O(n^2)$ time $2$-approximation algorithm improving the existing $O(n^2\log n)$ time $2$-approximation algorithm. Our exact $c$-packedness algorithm takes $O(n^5)$ time, which is the first exact algorithm for disks. We show using $α$-fat shapes instead of disks adds a factor $α^2$ to the approximation. We also give a data-structure for computing the curve-length inside query disks. It has $O(n^6\log n)$ construction time, uses $O(n^6)$ space, and has query time $O(\log n+k)$, where $k$ is the number of intersected segments with the query shape. We also give a massively parallel algorithm for relative $c$-packedness with $O(1)$ rounds.

View on arXivView PDF

Code Implementations(1)

Packedness of curves

00C++Aug 27, 20214 years ago

Similar Papers

Cite this paper

@article{aghamolaei2020computing,
  title  = {Computing The Packedness of Curves},
  author = {Sepideh Aghamolaei and Vahideh Keikha and Mohammad Ghodsi and Ali Mohades},
  year   = {2020},
  eprint = {2012.04403},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2012.04403}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2012.04403.svg)](https://codeofpaper.com/paper/2012.04403)

Discussion