首页> 外文会议>Foundations of Computer Science, 2004. Proceedings. 45th Annual IEEE Symposium on >Dynamic approximate all-pairs shortest paths in undirected graphs
【24h】

Dynamic approximate all-pairs shortest paths in undirected graphs

机译:无向图中的动态近似全对最短路径

获取原文

摘要

We obtain three dynamic algorithms for the approximate all-pairs shortest paths problem in unweighted undirected graphs: 1) For any fixed /spl epsiv/ < 0, a decremental algorithm with an expected total running time of O(mn), where m is the number of edges and n is the number of vertices in the initial graph. Each distance query is answered in O(1) worst-case time, and the stretch of the returned distances is at most 1 + /spl epsiv/. The algorithm uses O(n/sup 2/) space; 2) For any fixed integer k /spl ges/ 1, a decremental algorithm with an expected total running time of O(mn). Each query is answered in O(1) worst-case time, and the stretch of the returned distances is at most 2k - 1. This algorithm uses, however, only O(m + n/sup 1+1/k/) space. It is obtained by dynamizing techniques of Thorup and Zwick. In addition to being more space efficient, this algorithm is also one of the building blocks used to obtain the first algorithm; 3) For any fixed /spl epsiv/, /spl delta/ < 0 and every t /spl les/ m/sup 1/2-/spl delta//, a fully dynamic algorithm with an expected amortized update time of O(mn/t) and worst-case query time of O(t). The stretch of the returned distances is at most 1+/spl epsiv/. All algorithms can also be made to work on undirected graphs with small integer edge weights. If the largest edge weight is b, then all bounds on the running times are multiplied by b.
机译:对于无权无向图中的近似所有对最短路径问题,我们获得了三种动态算法:1)对于任何固定的/ spl epsiv / <0,一个递减算法,其预期总运行时间为O(mn),其中m为边的数量,n是初始图中顶点的数量。每个距离查询都在O(1)最坏的情况下得到回答,并且返回距离的范围最多为1 + / spl epsiv /。该算法使用O(n / sup 2 /)空间; 2)对于任何固定整数k / spl ges / 1,采用递减算法,预期总运行时间为O(mn)。在O(1)最坏的情况下回答每个查询,并且返回距离的范围最多为2k-1。但是,此算法仅使用O(m + n / sup 1 + 1 / k /)空间。它是通过Thorup和Zwick的动态技术获得的。除了节省空间外,该算法还是用于获得第一个算法的构件之一。 3)对于任何固定的/ spl epsiv /,/ spl delta / <0和每t / spl les / m / sup 1 / 2- / spl delta //,采用全动态算法,预期摊销更新时间为O(mn / t)和最坏情况下的查询时间O(t)。返回距离的范围最多为1 + / spl epsiv /。还可以使所有算法在具有较小整数边缘权重的无向图上工作。如果最大边缘权重为b,则运行时间的所有界限都将乘以b。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号