We consider a two-edge connected, non-negatively real-weighted graph G with n vertices and m edges, and a single-source shortest paths tree (SPT) of G rooted at an arbitrary vertex. If an edge of the SPT is temporarily removed, a widely recognized approach to reconnect the vertices 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 one instead rebuilds 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 vertices. For the former criteria, we present an O(mlogα(m,n)) time algorithm—where α is the inverse of the Ackermann function—to find a best swap edge for every edge of the SPT, thus improving onto the previous O(mlogn) time algorithm. Concerning the latter criteria, we provide an O(m+nlogn) time algorithm for the special but important case where G is unweighted, which compares favourably with the O(m+nα(n,n)log2n) 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.

Bilo, D., Guala', L., Proietti, G. (2014). A Faster Computation of All the Best Swap Edges of a Shortest Paths Tree. ALGORITHMICA, 73(3), 547-570 [10.1007/s00453-014-9912-6].

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

GUALA', LUCIANO;
2014-07-12

Abstract

We consider a two-edge connected, non-negatively real-weighted graph G with n vertices and m edges, and a single-source shortest paths tree (SPT) of G rooted at an arbitrary vertex. If an edge of the SPT is temporarily removed, a widely recognized approach to reconnect the vertices 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 one instead rebuilds 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 vertices. For the former criteria, we present an O(mlogα(m,n)) time algorithm—where α is the inverse of the Ackermann function—to find a best swap edge for every edge of the SPT, thus improving onto the previous O(mlogn) time algorithm. Concerning the latter criteria, we provide an O(m+nlogn) time algorithm for the special but important case where G is unweighted, which compares favourably with the O(m+nα(n,n)log2n) 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.
12-lug-2014
Pubblicato
Rilevanza internazionale
Articolo
Esperti anonimi
Settore INF/01 - INFORMATICA
English
Single-source shortest paths tree, Edge fault tolerance, Swap algorithms.
This paper has been selected for a Journal Issue on selected papers from the 21st European Symposium on Algorithms (ESA'13), September 2-4, 2013, Sophia Antipolis, France. Vol. 8125 of Lecture Notes in Computer Science, Springer, 157-168.) , namely the premiere conference on algorithms in Europe. Among more than 70 papers, only 6 of them were selected for such special issue.
http://link.springer.com/article/10.1007%2Fs00453-014-9912-6
Bilo, D., Guala', L., Proietti, G. (2014). A Faster Computation of All the Best Swap Edges of a Shortest Paths Tree. ALGORITHMICA, 73(3), 547-570 [10.1007/s00453-014-9912-6].
Bilo, D; Guala', L; Proietti, G
Articolo su rivista
File in questo prodotto:
File Dimensione Formato  
algorithmica_SPT_online.pdf

solo utenti autorizzati

Licenza: Copyright dell'editore
Dimensione 2.59 MB
Formato Adobe PDF
2.59 MB Adobe PDF   Visualizza/Apri   Richiedi una copia

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/2108/133074
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 8
  • ???jsp.display-item.citation.isi??? 3
social impact