Rectilinear shortest paths with rectangular barriers

  • Authors:
  • P. J. de Rezende;D. T. Lee;Y. F. Wu

  • Affiliations:
  • Department of Electrical Engineering and Computer Science, Northnestern University, Evanaton, Illinois;Department of Electrical Engineering and Computer Science, Northnestern University, Evanaton, Illinois;Department of Electrical Engineering and Computer Science, Northnestern University, Evanaton, Illinois

  • Venue:
  • SCG '85 Proceedings of the first annual symposium on Computational geometry
  • Year:
  • 1985

Quantified Score

Hi-index 0.00

Visualization

Abstract

We address ourselves to an instance of the Shortest Path problem with obstacles where a shortest path in the Manhattan (or L1) distance is sought between two points (source and destination) and the obstacles are n disjoint rectangles with sides parallel to the coordinate axes. A plane sweep technique is applied rather than the graph theoretic approach frequently used in the literature. We show that there has to be a path of minimum length between the two given points which is monotone in at least one of x or y directions. Then we present an algorithm of time complexity &Ogr;(n log n) for constructing that path and show that our algorithm is optimal.Lastly, we address the query form of this problem in which given a source point and n obstacles, after &Ogr;(n log n) time for preprocessing, a shortest path from the source point to a query point avoiding all the obstacles can be reported in &Ogr;(t + log n) time, where t is the number of turns on the path.