English

Approximating shortest paths in weighted square and hexagonal meshes

Computational Geometry 2024-04-12 v1

Abstract

Continuous 2-dimensional space is often discretized by considering a mesh of weighted cells. In this work we study how well a weighted mesh approximates the space, with respect to shortest paths. We consider a shortest path SPw(s,t) \mathit{SP_w}(s,t) from s s to t t in the continuous 2-dimensional space, a shortest vertex path SVPw(s,t) \mathit{SVP_w}(s,t) (or any-angle path), which is a shortest path where the vertices of the path are vertices of the mesh, and a shortest grid path SGPw(s,t) \mathit{SGP_w}(s,t) , which is a shortest path in a graph associated to the weighted mesh. We provide upper and lower bounds on the ratios SGPw(s,t)SPw(s,t) \frac{\lVert \mathit{SGP_w}(s,t)\rVert}{\lVert \mathit{SP_w}(s,t)\rVert} , SVPw(s,t)SPw(s,t) \frac{\lVert \mathit{SVP_w}(s,t)\rVert}{\lVert \mathit{SP_w}(s,t)\rVert} , SGPw(s,t)SVPw(s,t) \frac{\lVert \mathit{SGP_w}(s,t)\rVert}{\lVert \mathit{SVP_w}(s,t)\rVert} in square and hexagonal meshes, extending previous results for triangular grids. These ratios determine the effectiveness of existing algorithms that compute shortest paths on the graphs obtained from the grids. Our main results are that the ratio SGPw(s,t)SPw(s,t) \frac{\lVert \mathit{SGP_w}(s,t)\rVert}{\lVert \mathit{SP_w}(s,t)\rVert} is at most 22+21.08 \frac{2}{\sqrt{2+\sqrt{2}}} \approx 1.08 and 22+31.04 \frac{2}{\sqrt{2+\sqrt{3}}} \approx 1.04 in a square and a hexagonal mesh, respectively.

Keywords

Cite

@article{arxiv.2404.07562,
  title  = {Approximating shortest paths in weighted square and hexagonal meshes},
  author = {Prosenjit Bose and Guillermo Esteban and David Orden and Rodrigo I. Silveira},
  journal= {arXiv preprint arXiv:2404.07562},
  year   = {2024}
}
R2 v1 2026-06-28T15:50:50.231Z