单源最短路径问题的一个算法框架及其在圆盘图中的应用

IF 0.4 4区 计算机科学 Q4 MATHEMATICS Computational Geometry-Theory and Applications Pub Date : 2023-04-01 DOI:10.1016/j.comgeo.2022.101979
Katharina Klost
{"title":"单源最短路径问题的一个算法框架及其在圆盘图中的应用","authors":"Katharina Klost","doi":"10.1016/j.comgeo.2022.101979","DOIUrl":null,"url":null,"abstract":"<div><p><span>Shortest path problems are among the fundamental problems in graph theory. It is folklore that the unweighted single source shortest path (</span><span>SSSP</span>) problem in general graphs can be solved optimally with breadth first search (<span>BFS</span>) in <span><math><mi>O</mi><mo>(</mo><mi>n</mi><mo>+</mo><mi>m</mi><mo>)</mo></math></span> time. In this paper, we develop an algorithmic framework that generalizes a batched <span>BFS</span> approach to give efficient <span>SSSP</span><span> algorithms for several graph classes. The running time of these algorithms depends on the running time of three main ingredients. The first is a preprocessing step, to define a </span><em>shortcut graph</em><span> that maintains some distance information. Then during one run of the algorithm repeatably there are the steps of efficiently finding a set of candidate vertices adjacent in the shortcut graph to a given set of vertices and finally finding the subset of the candidate vertices that actually form an edge in the original graph.</span></p><p>A <em>disk graph</em> <span><math><mi>D</mi><mo>(</mo><mi>S</mi><mo>)</mo></math></span> is a graph that is defined on a set <em>S</em> of point sites in <span><math><msup><mrow><mi>R</mi></mrow><mrow><mn>2</mn></mrow></msup></math></span>, where each site <span><math><mi>s</mi><mo>∈</mo><mi>S</mi></math></span> has an associated radius <span><math><msub><mrow><mi>r</mi></mrow><mrow><mi>s</mi></mrow></msub></math></span>. The vertex set of <span><math><mi>D</mi><mo>(</mo><mi>S</mi><mo>)</mo></math></span> is <em>S</em> and two sites <span><math><mi>s</mi><mo>,</mo><mi>t</mi></math></span> are connected by an edge <em>st</em> in <span><math><mi>D</mi><mo>(</mo><mi>S</mi><mo>)</mo></math></span> if and only if the disks induced by <em>s</em> and <em>t</em><span> intersect. These graphs are also called the intersection graph of disks. Our results are algorithms that use the framework to efficiently solve the </span><span>SSSP</span> problem in intersection graphs. For disk graphs in the <span><math><msub><mrow><mi>L</mi></mrow><mrow><mn>2</mn></mrow></msub></math></span>-metric, we can show that after <span><math><mi>O</mi><mo>(</mo><mi>n</mi><msup><mrow><mi>log</mi></mrow><mrow><mn>2</mn></mrow></msup><mo>⁡</mo><mi>n</mi><mo>)</mo></math></span><span> preprocessing time we can solve the </span><span>SSSP</span> problem in <span><math><mi>O</mi><mo>(</mo><mi>n</mi><mi>log</mi><mo>⁡</mo><mi>n</mi><mo>)</mo></math></span> time. This significantly improves the previous best bound of <span><math><mi>O</mi><mo>(</mo><mi>n</mi><msup><mrow><mi>log</mi></mrow><mrow><mn>4</mn></mrow></msup><mo>⁡</mo><mi>n</mi><mo>)</mo></math></span> <span>[1]</span>, <span>[2]</span>. In the case of intersection graphs of axis-parallel squares, we are even able to reduce the preprocessing time to an optimal <span><math><mi>O</mi><mo>(</mo><mi>n</mi><mi>log</mi><mo>⁡</mo><mi>n</mi><mo>)</mo></math></span>. As intersection graphs of axis parallel squares are equivalent to disk graphs in the <span><math><msub><mrow><mi>L</mi></mrow><mrow><mn>1</mn></mrow></msub></math></span>- and <span><math><msub><mrow><mi>L</mi></mrow><mrow><mo>∞</mo></mrow></msub></math></span>-metric the result carries over to these metrics.</p><p>To show further applications of our framework, we restate the classical <span>BFS</span>, and also the optimal <span>SSSP</span> algorithm for unit disk graphs by Chan and Skrepetos <span>[3]</span> in our framework, showing its robustness.</p></div>","PeriodicalId":51001,"journal":{"name":"Computational Geometry-Theory and Applications","volume":null,"pages":null},"PeriodicalIF":0.4000,"publicationDate":"2023-04-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"An algorithmic framework for the single source shortest path problem with applications to disk graphs\",\"authors\":\"Katharina Klost\",\"doi\":\"10.1016/j.comgeo.2022.101979\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><p><span>Shortest path problems are among the fundamental problems in graph theory. It is folklore that the unweighted single source shortest path (</span><span>SSSP</span>) problem in general graphs can be solved optimally with breadth first search (<span>BFS</span>) in <span><math><mi>O</mi><mo>(</mo><mi>n</mi><mo>+</mo><mi>m</mi><mo>)</mo></math></span> time. In this paper, we develop an algorithmic framework that generalizes a batched <span>BFS</span> approach to give efficient <span>SSSP</span><span> algorithms for several graph classes. The running time of these algorithms depends on the running time of three main ingredients. The first is a preprocessing step, to define a </span><em>shortcut graph</em><span> that maintains some distance information. Then during one run of the algorithm repeatably there are the steps of efficiently finding a set of candidate vertices adjacent in the shortcut graph to a given set of vertices and finally finding the subset of the candidate vertices that actually form an edge in the original graph.</span></p><p>A <em>disk graph</em> <span><math><mi>D</mi><mo>(</mo><mi>S</mi><mo>)</mo></math></span> is a graph that is defined on a set <em>S</em> of point sites in <span><math><msup><mrow><mi>R</mi></mrow><mrow><mn>2</mn></mrow></msup></math></span>, where each site <span><math><mi>s</mi><mo>∈</mo><mi>S</mi></math></span> has an associated radius <span><math><msub><mrow><mi>r</mi></mrow><mrow><mi>s</mi></mrow></msub></math></span>. The vertex set of <span><math><mi>D</mi><mo>(</mo><mi>S</mi><mo>)</mo></math></span> is <em>S</em> and two sites <span><math><mi>s</mi><mo>,</mo><mi>t</mi></math></span> are connected by an edge <em>st</em> in <span><math><mi>D</mi><mo>(</mo><mi>S</mi><mo>)</mo></math></span> if and only if the disks induced by <em>s</em> and <em>t</em><span> intersect. These graphs are also called the intersection graph of disks. Our results are algorithms that use the framework to efficiently solve the </span><span>SSSP</span> problem in intersection graphs. For disk graphs in the <span><math><msub><mrow><mi>L</mi></mrow><mrow><mn>2</mn></mrow></msub></math></span>-metric, we can show that after <span><math><mi>O</mi><mo>(</mo><mi>n</mi><msup><mrow><mi>log</mi></mrow><mrow><mn>2</mn></mrow></msup><mo>⁡</mo><mi>n</mi><mo>)</mo></math></span><span> preprocessing time we can solve the </span><span>SSSP</span> problem in <span><math><mi>O</mi><mo>(</mo><mi>n</mi><mi>log</mi><mo>⁡</mo><mi>n</mi><mo>)</mo></math></span> time. This significantly improves the previous best bound of <span><math><mi>O</mi><mo>(</mo><mi>n</mi><msup><mrow><mi>log</mi></mrow><mrow><mn>4</mn></mrow></msup><mo>⁡</mo><mi>n</mi><mo>)</mo></math></span> <span>[1]</span>, <span>[2]</span>. In the case of intersection graphs of axis-parallel squares, we are even able to reduce the preprocessing time to an optimal <span><math><mi>O</mi><mo>(</mo><mi>n</mi><mi>log</mi><mo>⁡</mo><mi>n</mi><mo>)</mo></math></span>. As intersection graphs of axis parallel squares are equivalent to disk graphs in the <span><math><msub><mrow><mi>L</mi></mrow><mrow><mn>1</mn></mrow></msub></math></span>- and <span><math><msub><mrow><mi>L</mi></mrow><mrow><mo>∞</mo></mrow></msub></math></span>-metric the result carries over to these metrics.</p><p>To show further applications of our framework, we restate the classical <span>BFS</span>, and also the optimal <span>SSSP</span> algorithm for unit disk graphs by Chan and Skrepetos <span>[3]</span> in our framework, showing its robustness.</p></div>\",\"PeriodicalId\":51001,\"journal\":{\"name\":\"Computational Geometry-Theory and Applications\",\"volume\":null,\"pages\":null},\"PeriodicalIF\":0.4000,\"publicationDate\":\"2023-04-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Computational Geometry-Theory and Applications\",\"FirstCategoryId\":\"94\",\"ListUrlMain\":\"https://www.sciencedirect.com/science/article/pii/S0925772122001225\",\"RegionNum\":4,\"RegionCategory\":\"计算机科学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q4\",\"JCRName\":\"MATHEMATICS\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computational Geometry-Theory and Applications","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0925772122001225","RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q4","JCRName":"MATHEMATICS","Score":null,"Total":0}
引用次数: 0

摘要

最短路径问题是图论中的基本问题之一。一般图中的未加权单源最短路径(SSSP)问题可以通过广度优先搜索(BFS)在O(n+m)时间内得到最优解。在本文中,我们开发了一个算法框架,该框架推广了分批BFS方法,为几个图类提供了有效的SSSP算法。这些算法的运行时间取决于三种主要成分的运行时间。第一步是预处理步骤,定义一个保持一些距离信息的快捷图。然后,在算法的一次运行期间,存在有效地找到在快捷图中与给定顶点集相邻的一组候选顶点,并最终找到在原始图中实际形成边的候选顶点的子集的步骤。圆盘图D(S)是一个定义在R2中的一组点位S上的图,其中每个点位S∈S都有一个相关的半径rs。D(S。这些图也称为圆盘的交集图。我们的结果是使用该框架有效解决交集图中的SSSP问题的算法。对于L2度量中的圆盘图,我们可以证明在O(nlog2⁡n) 预处理时间我们可以解决O(nlog)中的SSSP问题⁡n) 时间。这显著改进了O(nlog4)先前的最佳界⁡n) [1],[2]。在轴平行正方形的交线图的情况下,我们甚至能够将预处理时间减少到最优O(nlog⁡n) 。由于轴平行平方的交图在L1-和L∞-度量中等价于圆盘图,因此结果会传递到这些度量。为了展示我们的框架的进一步应用,我们在我们的框架中重述了经典的BFS,以及Chan和Skrepetos[3]的单位圆盘图的最优SSSP算法,展示了它的鲁棒性。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
An algorithmic framework for the single source shortest path problem with applications to disk graphs

Shortest path problems are among the fundamental problems in graph theory. It is folklore that the unweighted single source shortest path (SSSP) problem in general graphs can be solved optimally with breadth first search (BFS) in O(n+m) time. In this paper, we develop an algorithmic framework that generalizes a batched BFS approach to give efficient SSSP algorithms for several graph classes. The running time of these algorithms depends on the running time of three main ingredients. The first is a preprocessing step, to define a shortcut graph that maintains some distance information. Then during one run of the algorithm repeatably there are the steps of efficiently finding a set of candidate vertices adjacent in the shortcut graph to a given set of vertices and finally finding the subset of the candidate vertices that actually form an edge in the original graph.

A disk graph D(S) is a graph that is defined on a set S of point sites in R2, where each site sS has an associated radius rs. The vertex set of D(S) is S and two sites s,t are connected by an edge st in D(S) if and only if the disks induced by s and t intersect. These graphs are also called the intersection graph of disks. Our results are algorithms that use the framework to efficiently solve the SSSP problem in intersection graphs. For disk graphs in the L2-metric, we can show that after O(nlog2n) preprocessing time we can solve the SSSP problem in O(nlogn) time. This significantly improves the previous best bound of O(nlog4n) [1], [2]. In the case of intersection graphs of axis-parallel squares, we are even able to reduce the preprocessing time to an optimal O(nlogn). As intersection graphs of axis parallel squares are equivalent to disk graphs in the L1- and L-metric the result carries over to these metrics.

To show further applications of our framework, we restate the classical BFS, and also the optimal SSSP algorithm for unit disk graphs by Chan and Skrepetos [3] in our framework, showing its robustness.

求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
CiteScore
1.60
自引率
16.70%
发文量
43
审稿时长
>12 weeks
期刊介绍: Computational Geometry is a forum for research in theoretical and applied aspects of computational geometry. The journal publishes fundamental research in all areas of the subject, as well as disseminating information on the applications, techniques, and use of computational geometry. Computational Geometry publishes articles on the design and analysis of geometric algorithms. All aspects of computational geometry are covered, including the numerical, graph theoretical and combinatorial aspects. Also welcomed are computational geometry solutions to fundamental problems arising in computer graphics, pattern recognition, robotics, image processing, CAD-CAM, VLSI design and geographical information systems. Computational Geometry features a special section containing open problems and concise reports on implementations of computational geometry tools.
期刊最新文献
Editorial Board Largest unit rectangles inscribed in a convex polygon Packing unequal disks in the Euclidean plane Editorial Board Improved approximation for two-dimensional vector multiple knapsack
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1