Lune

STOC2021Top-tier venue

A new algorithm for Euclidean shortest paths in the plane

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. Previously, Hershberger and Suri [SIAM J. Comput. 1999] gave an algorithm of O(n log n) time and O(n log n) space, where n is the total number of vertices of all obstacles. Recently, by modifying Hershberger and Suri's algorithm, Wang [SODA 2021] reduced the space to O(n) while the runtime of the algorithm is still O(n log n). In this paper, we present a new algorithm of O(n + h log h) time and O(n) space, provided that a triangulation of the free space is given, where h is the number of obstacles. The algorithm, which improves the previous work when h = o(n), is optimal in both time and space as Ω(n + h log h) is a lower bound on the runtime. Our algorithm builds a shortest path map for a source point s, so that given any query point t, the shortest path length from s to t can be computed in O(log n) time and a shortest s-t path can be produced in additional time linear in the number of edges of the path.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

2 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers2

  1. 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
  2. Shortest Paths on Convex Polyhedral SurfacesHaitao WangFOCS 2025

Builds on1

  1. Shortest Paths Among Obstacles in the Plane RevisitedHaitao WangSODA 2021 · 11 citations

Related papers

  1. Ultrafast Euclidean Shortest Path Computation Using Hub LabelingJinchun Du, Bojie Shen, Muhammad Aamir CheemaAAAI 2023 · 7 citations
  2. EHL*: Memory-Budgeted Indexing for Ultrafast Optimal Euclidean PathfindingJinchun Du, Bojie Shen, Muhammad Aamir CheemaAAAI 2026
  3. A Constant Factor Approximation for Navigating Through Connected Obstacles in the PlaneNeeraj Kumar, Daniel Lokshtanov, Saket Saurabh, Subhash SuriSODA 2021 · 3 citations
  4. Fréchet Distance in Subquadratic TimeSiu-Wing Cheng, Haoqiang HuangSODA 2025 · 2 citations
  5. Parameterized Algorithm for the Disjoint Path Problem on Planar Graphs: Exponential in k2 and Linear in nKyungjin Cho, Eunjin Oh, Seunghyeok OhSODA 2023 · 2 citations
Dusk over the sea between two cliffs drawn in fine vertical lines