Swapping a failing edge of a shortest paths tree by minimizing the average stretch factor

  • Authors:
  • Aleksej Di Salvo;Guido Proietti

  • Affiliations:
  • Dipartimento di Informatica, Università di LAquila, Via Vetoio, 67010 LAquila, Italy;Dipartimento di Informatica, Università di LAquila, Via Vetoio, 67010 LAquila, Italy and Istituto di Analisi dei Sistemi ed Informatica A. Ruberti, CNR, Viale Manzoni 30, 00185 Roma, Italy

  • Venue:
  • Theoretical Computer Science
  • Year:
  • 2007

Quantified Score

Hi-index 5.23

Visualization

Abstract

We consider a two-edge connected, undirected graph G=(V,E), with n nodes and m non-negatively real weighted edges, and a single source shortest paths tree (SPT) T of G rooted at an arbitrary node r. If an edge in T is temporarily removed, it makes sense to reconnect the nodes disconnected from the root by adding a single non-tree edge, called a swap edge, instead of rebuilding a new optimal SPT from scratch. In the past, several optimality criteria have been considered to select a best possible swap edge. In this paper we focus on the most prominent one, that is the minimization of the average distance between the root and the disconnected nodes. To this respect, we present an O(mlog2n) time and O(m) space algorithm to find a best swap edge for every edge of T, thus improving for m=o(n2/log2n) the previously known O(n2) time and space complexity algorithm.