Fast approximation algorithms for the diameter and radius of sparse graphs

L. Roditty, V. V. Williams
{"title":"Fast approximation algorithms for the diameter and radius of sparse graphs","authors":"L. Roditty, V. V. Williams","doi":"10.1145/2488608.2488673","DOIUrl":null,"url":null,"abstract":"The diameter and the radius of a graph are fundamental topological parameters that have many important practical applications in real world networks. The fastest combinatorial algorithm for both parameters works by solving the all-pairs shortest paths problem (APSP) and has a running time of ~O(mn) in m-edge, n-node graphs. In a seminal paper, Aingworth, Chekuri, Indyk and Motwani [SODA'96 and SICOMP'99] presented an algorithm that computes in ~O(m√ n + n2) time an estimate D for the diameter D, such that ⌊ 2/3 D ⌋ ≤ ^D ≤ D. Their paper spawned a long line of research on approximate APSP. For the specific problem of diameter approximation, however, no improvement has been achieved in over 15 years.\n Our paper presents the first improvement over the diameter approximation algorithm of Aingworth et. al, producing an algorithm with the same estimate but with an expected running time of ~O(m√ n). We thus show that for all sparse enough graphs, the diameter can be 3/2-approximated in o(n2) time. Our algorithm is obtained using a surprisingly simple method of neighborhood depth estimation that is strong enough to also approximate, in the same running time, the radius and more generally, all of the eccentricities, i.e. for every node the distance to its furthest node.\n We also provide strong evidence that our diameter approximation result may be hard to improve. We show that if for some constant ε>0 there is an O(m2-ε) time (3/2-ε)-approximation algorithm for the diameter of undirected unweighted graphs, then there is an O*( (2-δ)n) time algorithm for CNF-SAT on n variables for constant δ>0, and the strong exponential time hypothesis of [Impagliazzo, Paturi, Zane JCSS'01] is false.\n Motivated by this negative result, we give several improved diameter approximation algorithms for special cases. We show for instance that for unweighted graphs of constant diameter D not divisible by 3, there is an O(m2-ε) time algorithm that gives a (3/2-ε) approximation for constant ε>0. This is interesting since the diameter approximation problem is hardest to solve for small D.","PeriodicalId":191270,"journal":{"name":"Symposium on the Theory of Computing","volume":"16 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2013-06-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"253","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Symposium on the Theory of Computing","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/2488608.2488673","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 253

Abstract

The diameter and the radius of a graph are fundamental topological parameters that have many important practical applications in real world networks. The fastest combinatorial algorithm for both parameters works by solving the all-pairs shortest paths problem (APSP) and has a running time of ~O(mn) in m-edge, n-node graphs. In a seminal paper, Aingworth, Chekuri, Indyk and Motwani [SODA'96 and SICOMP'99] presented an algorithm that computes in ~O(m√ n + n2) time an estimate D for the diameter D, such that ⌊ 2/3 D ⌋ ≤ ^D ≤ D. Their paper spawned a long line of research on approximate APSP. For the specific problem of diameter approximation, however, no improvement has been achieved in over 15 years. Our paper presents the first improvement over the diameter approximation algorithm of Aingworth et. al, producing an algorithm with the same estimate but with an expected running time of ~O(m√ n). We thus show that for all sparse enough graphs, the diameter can be 3/2-approximated in o(n2) time. Our algorithm is obtained using a surprisingly simple method of neighborhood depth estimation that is strong enough to also approximate, in the same running time, the radius and more generally, all of the eccentricities, i.e. for every node the distance to its furthest node. We also provide strong evidence that our diameter approximation result may be hard to improve. We show that if for some constant ε>0 there is an O(m2-ε) time (3/2-ε)-approximation algorithm for the diameter of undirected unweighted graphs, then there is an O*( (2-δ)n) time algorithm for CNF-SAT on n variables for constant δ>0, and the strong exponential time hypothesis of [Impagliazzo, Paturi, Zane JCSS'01] is false. Motivated by this negative result, we give several improved diameter approximation algorithms for special cases. We show for instance that for unweighted graphs of constant diameter D not divisible by 3, there is an O(m2-ε) time algorithm that gives a (3/2-ε) approximation for constant ε>0. This is interesting since the diameter approximation problem is hardest to solve for small D.
稀疏图的直径和半径的快速逼近算法
图的直径和半径是基本的拓扑参数,在现实世界的网络中有许多重要的实际应用。这两个参数的最快组合算法通过解决全对最短路径问题(APSP)来工作,在m边n节点图中运行时间为~O(mn)。在一篇开创性的论文中,Aingworth, Chekuri, Indyk和Motwani [SODA'96和SICOMP'99]提出了一种算法,该算法在~O(m√n + n2)时间内计算直径D的估计D,使得⌊2/3 D⌋≤^D≤D。他们的论文催生了一系列关于近似APSP的研究。然而,对于直径近似的具体问题,15年来没有取得任何改进。本文提出了对Aingworth等人的直径近似算法的第一个改进,产生了一个具有相同估计但期望运行时间为~O(m√n)的算法。因此,我们证明了对于所有足够稀疏的图,直径可以在O(n2)时间内被3/2近似。我们的算法是使用一种非常简单的邻域深度估计方法获得的,这种方法足够强大,可以在相同的运行时间内近似半径,更一般地说,也可以近似所有的偏心率,即每个节点到其最远节点的距离。我们还提供了强有力的证据,证明我们的直径近似结果可能难以改进。我们证明了如果对于某常数ε>0存在一个O(m2-ε)时间(3/2-ε)-近似算法,那么对于常数δ>0存在n个变量上的CNF-SAT存在一个O*((2-δ)n)时间算法,并且[Impagliazzo, Paturi, Zane JCSS'01]的强指数时间假设是错误的。基于这个否定的结果,我们给出了几种特殊情况下改进的直径近似算法。例如,我们证明了对于常数直径D不能被3整除的未加权图,存在一个O(m2-ε)时间算法,该算法给出常数ε>0的(3/2-ε)近似。这很有趣,因为直径近似问题对于小D是最难解的。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书