Skip to main content

A Faster Computation of All the Best Swap Edges of a Tree Spanner

  • Conference paper
  • First Online:
Book cover Structural Information and Communication Complexity (SIROCCO 2015)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 9439))

Abstract

Given a 2-edge connected, positively real-weighted graph G with n vertices and m edges, a tree σ-spanner of G is a spanning tree T in which for every pair of vertices, the ratio of their distance in T over that in G is bounded by σ, the so-called stretch factor of T. Tree spanners with provably good stretch factors find applications in communication networks, distributed systems, and network design, but unfortunately –as any tree-based infrastructure– they are highly sensitive to even a single link failure, since this results in a network disconnection. Thus, when such an event occurs, the overall effort that has to be afforded to rebuild an effective tree spanner (i.e., computational costs, set-up of new links, updating of the routing tables, etc.) can be prohibitive. However, if the edge failure is only transient, these costs can simply be avoided, by promptly reestablishing the connectivity through a careful selection of a temporary swap edge, i.e., an edge in G reconnecting the two subtrees of T induced by the edge failure. According to the tree spanner’s nature, a best swap edge for a failing edge e is then a swap edge generating a reconnected tree of minimum stretch factor w.r.t. distances in the graph G deprived of edge e. For this problem we provide two efficient linear-space solutions for both the weighted and the unweighted case, running in O(m 2 logα(m,n)) and O(mn logn) time, respectively. As discussed in the paper, our algorithms also improve on the time complexity of previous results provided for other related settings of the problem.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Abraham, I., Bartal, Y., Neiman, O.: Embedding metrics into ultrametrics and graphs into spanning trees with constant average distortion. In: Proc. of the 18th ACM-SIAM Symp. on Discrete Algorithms (SODA 2007), pp. 502–511. ACM Press (2007)

    Google Scholar 

  2. Alstrup, S., Holm, J., de Lichtenberg, K., Thorup, M.: Maintaining information in fully dynamic trees with top trees. ACM Trans. Algorithms 1(2), 243–264 (2005)

    Article  MathSciNet  MATH  Google Scholar 

  3. Bilò, D., Gualà, L., Proietti, G.: Finding best swap edges minimizing the routing cost of a spanning tree. Algorithmica 68(2), 337–357 (2014)

    Article  MathSciNet  MATH  Google Scholar 

  4. Bilò, D., Gualà, L., Proietti, G.: A faster computation of all the best swap edges of a shortest paths tree. Algorithmica (in press). doi:10.1007/s00453-014-9912-6

    Google Scholar 

  5. Brandstädt, A., Chepoi, V., Dragan, F.F.: Distance approximating trees for chordal and dually chordal graphs. Journal of Algorithms 30(1), 166–184 (1999)

    Article  MathSciNet  MATH  Google Scholar 

  6. Cai, L., Corneil, D.G.: Tree spanners. SIAM J. on Disc. Math. 8, 359–387 (1995)

    Article  MathSciNet  MATH  Google Scholar 

  7. Das, S., Gfeller, B., Widmayer, P.: Computing all best swaps for minimum-stretch tree spanners. J. of Graph Algorithms and Applications 14(2), 287–306 (2010)

    Article  MathSciNet  MATH  Google Scholar 

  8. Di Salvo, A., Proietti, G.: Swapping a failing edge of a shortest paths tree by minimizing the average stretch factor. Theor. Comp. Science 383(1), 23–33 (2007)

    Article  MathSciNet  MATH  Google Scholar 

  9. Emek, Y., Peleg, D.: Approximating minimum max-stretch spanning trees on unweighted graphs. SIAM Journal on Computing 38(5), 1761–1781 (2008)

    Article  MathSciNet  MATH  Google Scholar 

  10. Harel, D., Tarjan, R.E.: Fast algorithms for finding nearest common ancestors. SIAM Journal on Computing 13(2), 338–355 (1984)

    Article  MathSciNet  MATH  Google Scholar 

  11. Italiano, G.F., Ramaswami, R.: Maintaining spanning trees of small diameter. Algorithmica 22(3), 275–304 (1998)

    Article  MathSciNet  MATH  Google Scholar 

  12. Liebchen, C., Wünsch, G.: The zoo of tree spanner problems. Discrete Applied Mathematics 156, 569–587 (2008)

    Article  MathSciNet  MATH  Google Scholar 

  13. Nardelli, E., Proietti, G., Widmayer, P.: Finding all the best swaps of a minimum diameter spanning tree under transient edge failures. Journal of Graph Algorithms and Applications 5(5), 39–57 (2001)

    Article  MathSciNet  MATH  Google Scholar 

  14. Pettie, S.: Sensitivity analysis of minimum spanning trees in sub-inverse-Ackermann time. In: Deng, X., Du, D.-Z. (eds.) ISAAC 2005. LNCS, vol. 3827, pp. 964–973. Springer, Heidelberg (2005)

    Chapter  Google Scholar 

  15. Wu, B.Y., Hsiao, C.-Y., Chao, K.-M.: The swap edges of a multiple-sources routing tree. Algorithmica 50(3), 299–311 (2008)

    Article  MathSciNet  MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Davide Bilò .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2015 Springer International Publishing Switzerland

About this paper

Cite this paper

Bilò, D., Colella, F., Gualà, L., Leucci, S., Proietti, G. (2015). A Faster Computation of All the Best Swap Edges of a Tree Spanner. In: Scheideler, C. (eds) Structural Information and Communication Complexity. SIROCCO 2015. Lecture Notes in Computer Science(), vol 9439. Springer, Cham. https://doi.org/10.1007/978-3-319-25258-2_17

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-25258-2_17

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-25257-5

  • Online ISBN: 978-3-319-25258-2

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics