English

Approximate Nearest-Neighbor Search for Line Segments

Computational Geometry 2021-04-01 v2

Abstract

Approximate nearest-neighbor search is a fundamental algorithmic problem that continues to inspire study due its essential role in numerous contexts. In contrast to most prior work, which has focused on point sets, we consider nearest-neighbor queries against a set of line segments in Rd\mathbb{R}^d, for constant dimension dd. Given a set SS of nn disjoint line segments in Rd\mathbb{R}^d and an error parameter ε>0\varepsilon > 0, the objective is to build a data structure such that for any query point qq, it is possible to return a line segment whose Euclidean distance from qq is at most (1+ε)(1+\varepsilon) times the distance from qq to its nearest line segment. We present a data structure for this problem with storage O((n2/εd)log(Δ/ε))O((n^2/\varepsilon^{d}) \log (\Delta/\varepsilon)) and query time O(log(max(n,Δ)/ε))O(\log (\max(n,\Delta)/\varepsilon)), where Δ\Delta is the spread of the set of segments SS. Our approach is based on a covering of space by anisotropic elements, which align themselves according to the orientations of nearby segments.

Keywords

Cite

@article{arxiv.2103.16071,
  title  = {Approximate Nearest-Neighbor Search for Line Segments},
  author = {Ahmed Abdelkader and David M. Mount},
  journal= {arXiv preprint arXiv:2103.16071},
  year   = {2021}
}

Comments

20 pages (including appendix), 5 figures

R2 v1 2026-06-24T00:40:38.144Z