Prosenjit Bose, Guillermo Esteban, David Orden, Rodrigo I. Silveira
{"title":"Approximating shortest paths in weighted square and hexagonal meshes","authors":"Prosenjit Bose, Guillermo Esteban, David Orden, Rodrigo I. Silveira","doi":"arxiv-2404.07562","DOIUrl":null,"url":null,"abstract":"Continuous 2-dimensional space is often discretized by considering a mesh of\nweighted cells. In this work we study how well a weighted mesh approximates the\nspace, with respect to shortest paths. We consider a shortest path $\n\\mathit{SP_w}(s,t) $ from $ s $ to $ t $ in the continuous 2-dimensional space,\na shortest vertex path $ \\mathit{SVP_w}(s,t) $ (or any-angle path), which is a\nshortest path where the vertices of the path are vertices of the mesh, and a\nshortest grid path $ \\mathit{SGP_w}(s,t) $, which is a shortest path in a graph\nassociated to the weighted mesh. We provide upper and lower bounds on the\nratios $ \\frac{\\lVert \\mathit{SGP_w}(s,t)\\rVert}{\\lVert\n\\mathit{SP_w}(s,t)\\rVert} $, $ \\frac{\\lVert \\mathit{SVP_w}(s,t)\\rVert}{\\lVert\n\\mathit{SP_w}(s,t)\\rVert} $, $ \\frac{\\lVert \\mathit{SGP_w}(s,t)\\rVert}{\\lVert\n\\mathit{SVP_w}(s,t)\\rVert} $ in square and hexagonal meshes, extending previous\nresults for triangular grids. These ratios determine the effectiveness of\nexisting algorithms that compute shortest paths on the graphs obtained from the\ngrids. Our main results are that the ratio $ \\frac{\\lVert\n\\mathit{SGP_w}(s,t)\\rVert}{\\lVert \\mathit{SP_w}(s,t)\\rVert} $ is at most $\n\\frac{2}{\\sqrt{2+\\sqrt{2}}} \\approx 1.08 $ and $ \\frac{2}{\\sqrt{2+\\sqrt{3}}}\n\\approx 1.04 $ in a square and a hexagonal mesh, respectively.","PeriodicalId":501570,"journal":{"name":"arXiv - CS - Computational Geometry","volume":"23 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-04-11","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - CS - Computational Geometry","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2404.07562","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
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 $
\mathit{SP_w}(s,t) $ from $ s $ to $ t $ in the continuous 2-dimensional space,
a shortest vertex path $ \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 $ \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 $ \frac{\lVert \mathit{SGP_w}(s,t)\rVert}{\lVert
\mathit{SP_w}(s,t)\rVert} $, $ \frac{\lVert \mathit{SVP_w}(s,t)\rVert}{\lVert
\mathit{SP_w}(s,t)\rVert} $, $ \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 $ \frac{\lVert
\mathit{SGP_w}(s,t)\rVert}{\lVert \mathit{SP_w}(s,t)\rVert} $ is at most $
\frac{2}{\sqrt{2+\sqrt{2}}} \approx 1.08 $ and $ \frac{2}{\sqrt{2+\sqrt{3}}}
\approx 1.04 $ in a square and a hexagonal mesh, respectively.