# Optimal covering and hitting of line segments by two axis-parallel squares

## Document Type

Conference Article

## Publication Title

Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)

## Abstract

This paper discusses the problem of covering and hitting a set of line segments \mathcal L in \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 \mathcal 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\log n) time. All the proposed algorithms are in-place, and they use only O(1) extra space. The solution of these problems also give a \sqrt{2} approximation for covering and hitting those line segments \mathcal L by two congruent disks of minimum radius with same computational complexity.

## First Page

457

## Last Page

468

## DOI

10.1007/978-3-319-62389-4_38

## Publication Date

1-1-2017

## Recommended Citation

Sadhu, Sanjib; Roy, Sasanka; Nandy, Subhas C.; and Roy, Suchismita, "Optimal covering and hitting of line segments by two axis-parallel squares" (2017). *Conference Articles*. 322.

https://digitalcommons.isical.ac.in/conf-articles/322