首页> 外文会议>ESA 2013 >A Faster Computation of All the Best Swap Edges of a Shortest Paths Tree
【24h】

A Faster Computation of All the Best Swap Edges of a Shortest Paths Tree

机译:更快地计算最短路径树的所有最佳交换边缘

获取原文

摘要

We consider a 2-edge connected, non-negatively weighted graph G, with n nodes and m edges, and a single-source shortest paths tree (SPT) of G rooted at an arbitrary node. If an edge of the SPT is temporarily removed, a widely recognized approach to reconnect the nodes disconnected from the root consists of joining the two resulting subtrees by means of a single non-tree edge, called a swap edge. This allows to reduce consistently the set-up and computational costs which are incurred if we instead rebuild a new optimal SPT from scratch. In the past, several optimality criteria have been considered to select a best possible swap edge, and here we restrict our attention to arguably the two most significant measures: the minimization of either the maximum or the average distance between the root and the disconnected nodes. For the former criteria, we present an O(mlog α(m, n)) time algorithm to find a best swap edge for every edge of the SPT, thus improving onto the previous O(mlog n) time algorithm (B. Gfeller, ESA'08). Concerning the latter criteria, we provide an O(m + n log n) time algorithm for the special but important case where G is unweighted, which compares favorably with the O(m + nα(n, n) log~2 n) time bound that one would get by using the fastest algorithm known for the weighted case - once this is suitably adapted to the unweighted case.
机译:我们考虑一个2边缘连接的非负加权图G,N个节点和M边缘,以及根扎在任意节点处的单源最短路径树(SPT)。如果临时删除SPT的边缘,则广泛识别的方法来重新连接与根断开连接的节点的方法包括通过单个非树边缘连接两个产生的子树,称为交换边缘。这允许始终如一地减少,如果我们从头开始重建新的最佳SPT,则会始终如一的设置和计算成本。在过去,已经考虑了几个最优性标准选择了最佳的交换边缘,在这里,我们可以限制我们的注意力,可以说是最重要的措施:根目录和断开连接节点之间的最大值或平均距离的最小化。对于前标准,我们呈现O(MLOGα(M,N))时间算法,为SPT的每个边缘找到最佳的交换边沿,从而改善前一个O(MLOG N)时间算法(B.GFeller, esa'08)。关于后一项标准,我们为G的特殊但重要的情况提供了一个(M + N log n)时间算法,其中G是未加权的,这与O(m +nα(n,n)log〜2 n)相比有利地进行比较一旦这适合于未加权案例,就会绑定一个人将通过使用加权壳体所知的最快算法来获得。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号