Shortest paths in the plane with polygonal obstacles
- 1 September 1994
- journal article
- Published by Association for Computing Machinery (ACM) in Journal of the ACM
- Vol. 41 (5) , 982-1012
- https://doi.org/10.1145/185675.185795
Abstract
We present a practical algorithm for finding minimum-length paths between points in the Euclidean plane with (not necessarily convex) polygonal obstacles. Prior to this work, the best known algorithm for finding the shortest path between two points in the plane required Ω(n 2 log n) time and O (n 2 ) space, where n denotes the number of obstacle edges. Assuming that a triangulation or a Voronoi diagram for the obstacle space is provided with the input (if is not, either one can be precomputed in O ( n log n) time), we present an O(kn) time algorithm, where k denotes the number of “islands” (connected components) in the obstacle space. The algorithm uses only O(n) space and, given a source point s , produces an O(n) size data structure such that the distance between s and any other point x in the plane ( x ) is not necessarily an obstacle vertex or a point on an obstacle edge) can be computed in O (1) time. The algorithm can also be used to compute shortest paths for the movement of a disk (so that optimal movement for arbitrary objects can be computed to the accuracy of enclosing them with the smallest possible disk).Keywords
This publication has 10 references indexed in Scilit:
- The weighted region problemJournal of the ACM, 1991
- An O(n2) shortest path algorithm for a non-rotating convex bodyJournal of Algorithms, 1988
- Rectilinear Shortest Paths and Minimum Spanning Trees in the Presence of Rectilinear ObstaclesIEEE Transactions on Computers, 1987
- Visibility of disjoint polygonsAlgorithmica, 1986
- Constructing the visibility graph for n-line segments in O(n2) timeInformation Processing Letters, 1985
- Euclidean shortest paths in the presence of rectilinear barriersNetworks, 1984
- Optimal Search in Planar SubdivisionsSIAM Journal on Computing, 1983
- Finding minimum rectilinear distance paths in the presence of barriersNetworks, 1981
- An algorithm for planning collision-free paths among polyhedral obstaclesCommunications of the ACM, 1979
- Minimum-Trajectory Pipe RoutingJournal of Ship Research, 1974