English

Space-efficient Algorithms for Visibility Problems in Simple Polygon

Computational Geometry 2012-04-13 v1

Abstract

Given a simple polygon PP consisting of nn vertices, we study the problem of designing space-efficient algorithms for computing (i) the visibility polygon of a point inside PP, (ii) the weak visibility polygon of a line segment inside PP and (iii) the minimum link path between a pair of points inside PP. For problem (i) two algorithms are proposed. The first one is an in-place algorithm where the input array may be lost. It uses only O(1) extra space apart from the input array. The second one assumes that the input is given in a read-only array, and it needs O(n)O(\sqrt{n}) extra space. The time complexity of both the algorithms are O(n). For problem (ii), we have assumed that the input polygon is given in a read-only array. Our proposed algorithm runs in O(n2)O(n^2) time using O(1) extra space. For problem (iii) the time and space complexities of our proposed algorithm are O(kn)O(kn) and O(1) respectively; kk is the length (number of links) in a minimum link path between the given pair of points.

Keywords

Cite

@article{arxiv.1204.2634,
  title  = {Space-efficient Algorithms for Visibility Problems in Simple Polygon},
  author = {Minati De and Anil Maheshwari and Subhas C. Nandy},
  journal= {arXiv preprint arXiv:1204.2634},
  year   = {2012}
}

Comments

15 pages, 5 figures

R2 v1 2026-06-21T20:48:21.199Z