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

被引:0
|
作者
Bilo, Davide [1 ]
Guala, Luciano [2 ]
Proietti, Guido [3 ,4 ]
机构
[1] Univ Sassari, Dipartimento Sci Umanist & Sociali, I-07100 Sassari, Italy
[2] Univ Roma Tor Vergata, DipartimentoIngn Impresa, I-00173 Rome, Italy
[3] Univ Aquila, Dip Ingn & Sci Informaz & Matemat, I-67100 Laquila, Italy
[4] CNR, Ist Analisi Sistemi & Informat, I-00185 Rome, Italy
来源
ALGORITHMS - ESA 2013 | 2013年 / 8125卷
关键词
MINIMUM SPANNING-TREES; SENSITIVITY-ANALYSIS; ALGORITHMS;
D O I
暂无
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
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(m log alpha(m, n)) time algorithm to find a best swap edge for every edge of the SPT, thus improving onto the previous O(m log 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 alpha(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.
引用
收藏
页码:157 / 168
页数:12
相关论文
共 50 条
  • [1] A Faster Computation of All the Best Swap Edges of a Shortest Paths Tree
    Bilo, Davide
    Guala, Luciano
    Proietti, Guido
    [J]. ALGORITHMICA, 2015, 73 (03) : 547 - 570
  • [2] A Faster Computation of All the Best Swap Edges of a Shortest Paths Tree
    Davide Bilò
    Luciano Gualà
    Guido Proietti
    [J]. Algorithmica, 2015, 73 : 547 - 570
  • [3] An Improved Algorithm for Computing All the Best Swap Edges of a Tree Spanner
    Davide Bilò
    Feliciano Colella
    Luciano Gualà
    Stefano Leucci
    Guido Proietti
    [J]. Algorithmica, 2020, 82 : 279 - 299
  • [4] An Improved Algorithm for Computing All the Best Swap Edges of a Tree Spanner
    Bilo, Davide
    Colella, Feliciano
    Guala, Luciano
    Leucci, Stefano
    Proietti, Guido
    [J]. ALGORITHMICA, 2020, 82 (02) : 279 - 299
  • [5] Computing all the best swap edges distributively
    Flocchini, P
    Pagli, L
    Prencipe, G
    Santoro, N
    Widmayer, P
    Zuva, T
    [J]. PRINCIPLES OF DISTRIBUTED SYSTEMS, 2005, 3544 : 154 - 168
  • [6] Computing all the best swap edges distributively
    Flocchini, P.
    Pagli, L.
    Prencipe, G.
    Santoro, N.
    Widmayer, P.
    [J]. JOURNAL OF PARALLEL AND DISTRIBUTED COMPUTING, 2008, 68 (07) : 976 - 983
  • [7] Faster Approximate All Pairs Shortest Paths
    Saha, Barna
    Ye, Christopher
    [J]. PROCEEDINGS OF THE 2024 ANNUAL ACM-SIAM SYMPOSIUM ON DISCRETE ALGORITHMS, SODA, 2024, : 4758 - 4827
  • [8] A distributed algorithm for finding all best swap edges of a minimum diameter spanning tree
    Gfeller, Beat
    Santoro, Nicola
    Widmayer, Peter
    [J]. DISTRIBUTED COMPUTING, PROCEEDINGS, 2007, 4731 : 268 - +
  • [9] Efficient protocols for computing the optimal swap edges of a shortest path tree
    Flocchini, P
    Enriques, AM
    Pagli, L
    Prencipe, G
    Santoro, N
    [J]. EXPLORING NEW FRONTIERS OF THEORETICAL INFORMATICS, 2004, 155 : 153 - 166
  • [10] A Distributed Algorithm for Finding All Best Swap Edges of a Minimum-Diameter Spanning Tree
    Gfeller, Beat
    Santoro, Nicola
    Widmayer, Peter
    [J]. IEEE TRANSACTIONS ON DEPENDABLE AND SECURE COMPUTING, 2011, 8 (01) : 1 - 12