English

Algorithms for Computing Closest Points for Segments

Computational Geometry 2024-01-08 v1 Data Structures and Algorithms

Abstract

Given a set PP of nn points and a set SS of nn segments in the plane, we consider the problem of computing for each segment of SS its closest point in PP. The previously best algorithm solves the problem in n4/32O(logn)n^{4/3}2^{O(\log^*n)} time [Bespamyatnikh, 2003] and a lower bound (under a somewhat restricted model) Ω(n4/3)\Omega(n^{4/3}) has also been proved. In this paper, we present an O(n4/3)O(n^{4/3}) time algorithm and thus solve the problem optimally (under the restricted model). In addition, we also present data structures for solving the online version of the problem, i.e., given a query segment (or a line as a special case), find its closest point in PP. Our new results improve the previous work.

Keywords

Cite

@article{arxiv.2401.02636,
  title  = {Algorithms for Computing Closest Points for Segments},
  author = {Haitao Wang},
  journal= {arXiv preprint arXiv:2401.02636},
  year   = {2024}
}

Comments

Accepted to STACS 2024