English

Constructing Many Faces in Arrangements of Lines and Segments

Computational Geometry 2021-10-19 v1 Data Structures and Algorithms

Abstract

We present new algorithms for computing many faces in arrangements of lines and segments. Given a set SS of nn lines (resp., segments) and a set PP of mm points in the plane, the problem is to compute the faces of the arrangements of SS that contain at least one point of PP. For the line case, we give a deterministic algorithm of O(m2/3n2/3log2/3(n/m)+(m+n)logn)O(m^{2/3}n^{2/3}\log^{2/3} (n/\sqrt{m})+(m+n)\log n) time. This improves the previously best deterministic algorithm [Agarwal, 1990] by a factor of log2.22n\log^{2.22}n and improves the previously best randomized algorithm [Agarwal, Matou\v{s}ek, and Schwarzkopf, 1998] by a factor of log1/3n\log^{1/3}n in certain cases (e.g., when m=Θ(n)m=\Theta(n)). For the segment case, we present a deterministic algorithm of O(n2/3m2/3logn+τ(nα2(n)+nlogm+m)logn)O(n^{2/3}m^{2/3}\log n+\tau(n\alpha^2(n)+n\log m+m)\log n) time, where τ=min{logm,log(n/m)}\tau=\min\{\log m,\log (n/\sqrt{m})\} and α(n)\alpha(n) is the inverse Ackermann function. This improves the previously best deterministic algorithm [Agarwal, 1990] by a factor of log2.11n\log^{2.11}n and improves the previously best randomized algorithm [Agarwal, Matou\v{s}ek, and Schwarzkopf, 1998] by a factor of logn\log n in certain cases (e.g., when m=Θ(n)m=\Theta(n)). We also give a randomized algorithm of O(m2/3K1/3logn+τ(nα(n)+nlogm+m)lognlogK)O(m^{2/3}K^{1/3}\log n+\tau(n\alpha(n)+n\log m+m)\log n\log K) expected time, where KK is the number of intersections of all segments of SS. In addition, we consider the query version of the problem, that is, preprocess SS to compute the face of the arrangement of SS that contains any query point. We present new results that improve the previous work for both the line and the segment cases.

Keywords

Cite

@article{arxiv.2110.08669,
  title  = {Constructing Many Faces in Arrangements of Lines and Segments},
  author = {Haitao Wang},
  journal= {arXiv preprint arXiv:2110.08669},
  year   = {2021}
}

Comments

To be presented at SODA 2022