Shortest Paths Among Obstacles in the Plane Revisited
Haitao Wang
Abstract
Given a set of pairwise disjoint polygonal obstacles in the plane, finding an obstacle-avoiding Euclidean shortest path between two points is a classical problem in computational geometry and has been studied extensively. The previous best algorithm was given by Hershberger and Suri [FOCS 1993, SIAM J. Comput. 1999] and the algorithm runs in O(n log n) time and O(n log n) space, where n is the total number of vertices of all obstacles. The algorithm is time-optimal because Ω(n log n) is a lower bound. It has been an open problem for over two decades whether the space can be reduced to O(n). In this paper, we settle it by solving the problem in O(n log n) time and O(n) space, which is optimal in both time and space; we achieve this by modifying the algorithm of Hershberger and Suri. Like their original algorithm, our new algorithm can build a shortest path map for a source point s in O(n log n) time and O(n) space, such that given any query point t, the length of a shortest path from s to t can be computed in O(log n) time and a shortest path can be produced in additional time linear in the number of edges of the path.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext f59a5bda-9498-45bd-8344-bb342c4fa0dfCited by top-tier papers1
Ask how each one uses itRelated papers
- Ultrafast Euclidean Shortest Path Computation Using Hub LabelingJinchun Du, Bojie Shen, Muhammad Aamir CheemaAAAI 2023 · 7 citations
- Shortest Paths on Convex Polyhedral SurfacesHaitao WangFOCS 2025
- Near-Optimal Min-Sum Motion Planning for Two Square Robots in a Polygonal EnvironmentPankaj K. Agarwal, Dan Halperin, Micha Sharir, Alex SteigerSODA 2024 · 2 citations
- EHL*: Memory-Budgeted Indexing for Ultrafast Optimal Euclidean PathfindingJinchun Du, Bojie Shen, Muhammad Aamir CheemaAAAI 2026
- A Constant Factor Approximation for Navigating Through Connected Obstacles in the PlaneNeeraj Kumar, Daniel Lokshtanov, Saket Saurabh, Subhash SuriSODA 2021 · 3 citations
