This paper proves that, assuming the Strong Exponential Time Hypothesis (SETH), any distance oracle for n×n grid graphs with O(1) query time requires Ω(n^(2-o(1))) preprocessing time. The proof proceeds by reduction from the Orthogonal Vectors (OV) problem via an explicit gadget construction. The main result establishes a fundamental space-time tradeoff: achieving constant-time distance queries on grids is provably expensive in preprocessing. This provides theoretical justification for the design of practical pathfinding algorithms like Jump Point Search (JPS+), which achieve O(n²) preprocessing with O(path length) query time.
No takes yet. Share an insight, caveat, or question.
David R. Dudas (2026) studied this question.
Synapse has enriched 5 closely related papers on similar clinical questions. Consider them for comparative context: