arXiv · 2603.26313
Distances in Planar Graphs are Almost for Free!
Abstract
We prove that, up to subpolynomial or polylogarithmic factors, there is no tradeoff between preprocessing time, query time, and size of exact distance oracles for planar graphs. Namely, we show how given an $n$-vertex weighted directed planar graph $G$, one can compute in $n^{1+o(1)}$ time and space a representation of $G$ from which one can extract the exact distance between any two vertices of $G$ in $\log^{2+o(1)}(n)$ time. Previously, it was only known how to construct oracles with these space and query time in $n^{3/2+o(1)}$ time [STOC 2019, SODA 2021, JACM 2023]. We show how to construct these oracles in $n^{1+o(1)}$ time.
Explore related subjects
Keep this discovery
Shay Mozes, Daniel Prigan. 2026-03-27. Distances in Planar Graphs are Almost for Free!. https://arxiv.org/abs/2603.26313
Cite the original work for its findings. Save a collection to share your selection of sources.