Query-point visibility constrained shortest paths in simple polygons

  • Authors:
  • Ramtin Khosravi;Mohammad Ghodsi

  • Affiliations:
  • Department of Computer Engineering, Sharif University of Technology, P.O. Box 11365-9517, Tehran, Iran and IPM School of Computer Science, P.O. Box: 19395-5746, Tehran, Iran;Department of Computer Engineering, Sharif University of Technology, P.O. Box 11365-9517, Tehran, Iran and IPM School of Computer Science, P.O. Box: 19395-5746, Tehran, Iran

  • Venue:
  • Theoretical Computer Science
  • Year:
  • 2007

Quantified Score

Hi-index 5.23

Visualization

Abstract

In this paper, we study the problem of finding the shortest path between two points inside a simple polygon such that there is at least one point on the path from which a query point is visible. We provide an algorithm which preprocesses the input in O(n^2+nK) time and space and provides logarithmic query time. The input polygon has n vertices and K is a parameter dependent on the input polygon which is O(n^2) in the worst case but is much smaller for most polygons. The preprocessing algorithm sweeps an angular interval around every reflex vertex of the polygon to store the optimal contact points between the shortest paths and the windows separating the visibility polygons of the query points from the source and the destination.