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 α(m,n)) time algorithm to find a best swap edge for every edge of the SPT, thus improving onto the previous O(m logn) time algorithm (B. Gfeller, ESA’08). Concerning the latter criteria, we provide an O(m + n logn) time algorithm for the special but important case where G is unweighted, which compares favorably with the O(m+nα(n,n)log^2n) 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.

Bilò, D., Guala', L., Proietti, G. (2013). A Faster Computation of All the Best Swap Edges of a Shortest Paths Tree. In Algorithms: ESA 2013. Springer [10.1007/978-3-642-40450-4_14].

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

GUALA', LUCIANO;
2013-01-01

Abstract

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 α(m,n)) time algorithm to find a best swap edge for every edge of the SPT, thus improving onto the previous O(m logn) time algorithm (B. Gfeller, ESA’08). Concerning the latter criteria, we provide an O(m + n logn) time algorithm for the special but important case where G is unweighted, which compares favorably with the O(m+nα(n,n)log^2n) 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.
Algorithms - ESA 2013 - 21st Annual European Symposium
Rilevanza internazionale
2013
Settore INF/01 - INFORMATICA
English
http://www.scopus.com/inward/record.url?eid=2-s2.0-84884312948&partnerID=40&md5=ee93a42f6a20b8c27cda2219717a621f
Intervento a convegno
Bilò, D., Guala', L., Proietti, G. (2013). A Faster Computation of All the Best Swap Edges of a Shortest Paths Tree. In Algorithms: ESA 2013. Springer [10.1007/978-3-642-40450-4_14].
Bilò, D; Guala', L; Proietti, G
File in questo prodotto:
File Dimensione Formato  
ESA2013.pdf

solo utenti autorizzati

Licenza: Copyright dell'editore
Dimensione 243.7 kB
Formato Adobe PDF
243.7 kB 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/94078
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 1
  • ???jsp.display-item.citation.isi??? 1
social impact