English

A linear time algorithm to cover and hit a set of line segments optimally by two axis-parallel squares

Computational Geometry 2017-09-15 v1

Abstract

This paper discusses the problem of covering and hitting a set of line segments L\cal L in R2{\mathbb R}^2 by a pair of axis-parallel squares such that the side length of the larger of the two squares is minimized. We also discuss the restricted version of covering, where each line segment in L\cal L is to be covered completely by at least one square. The proposed algorithm for the covering problem reports the optimum result by executing only two passes of reading the input data sequentially. The algorithm proposed for the hitting and restricted covering problems produces optimum result in O(n)O(n) time. All the proposed algorithms are in-place, and they use only O(1)O(1) extra space. The solution of these problems also give a 2\sqrt{2} approximation for covering and hitting those line segments L\cal L by two congruent disks of minimum radius with same computational complexity.

Keywords

Cite

@article{arxiv.1709.04870,
  title  = {A linear time algorithm to cover and hit a set of line segments optimally by two axis-parallel squares},
  author = {Sanjib Sadhu and Sasanka Roy and Subhas C. Nandy and Suchismita Roy},
  journal= {arXiv preprint arXiv:1709.04870},
  year   = {2017}
}

Comments

A preliminary version of this paper appeared in COCOON 2017, pages 457-468

R2 v1 2026-06-22T21:43:25.412Z