Skip to main content

Average case analysis of fully dynamic connectivity for directed graphs

  • Conference paper
  • First Online:
Graph-Theoretic Concepts in Computer Science (WG 1993)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 790))

Included in the following conference series:

Abstract

In this paper we consider the problem of maintaining the transitive closure in a directed graph under both edge insertions and deletions from the point of view of average case analysis. Say n the number of nodes and m the number of edges. We present a data structure that supports the report of a path between two nodes in O(n · log n) expected time and O(1) amortized time per update, and connectivity queries in a dense graph in O(1) expected time and O(n · log n) expected amortized time per update. If m > n4/3 then connectivity queries can be performed in O(1) expected time and O(log3 n) expected amortized time per update. These bounds compares favorably with the best bounds known using worst case analysis. Moreover we consider an intermediate model beetween worst case analysis and average case analysis, the semi-random adversary introduced in [2].

This work was partly supported by the ESPRIT Basic Research Action No. 7141 (AL-COM II) and by the italian projects “Algoritmi, Modelli di Calcolo e Strutture Informative”, Ministero dell'Università e della Ricerca Scientifica e Tecnologica, and “Progetto Finalizzato Trasporti II”, Consiglio Nazionale delle Ricerche.

Supported by a grant from Consiglio Nazionale delle Ricerche, Italia.

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

Access this chapter

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. G. Ausiello, G. F. Italiano, A. Marchetti-Spaccamela, U. Nanni, “Incremental algorithms for minimal length paths”, J. of Algorithms, 12 (1991), 615–638.

    Google Scholar 

  2. A. Blum, “Some tools for approximate 3-coloring”, Proceedings of the 31st IEEE Symposium on Foundations of Computer Science, 1990.

    Google Scholar 

  3. B. Bollobas, “Random graphs”, Academic Press, 1985.

    Google Scholar 

  4. G. Di Battista and R.Tamassia, “Incremental planarity testing”, Proc. 30th annual Symp. on Foundations of Computer Science, 1989.

    Google Scholar 

  5. G. Di Battista and R.Tamassia, “On-line graph algorithms with SPQR-trees”, Proc. 17th Int. Coll. on Automata, Languages and Programming, Lect. Not. in Comp. Sci., Springer-Verlag, 1990.

    Google Scholar 

  6. D. Eppstein, Z.Galil, G. F. Italiano, A.Nissenzweig, “Sparsification — a technique for speeding up dynamic graph algorithms”, Proc. 33rd Symp. on Found. of Computer Sci. 1992.

    Google Scholar 

  7. D. Eppstein, G. F. Italiano, R. Tamassia, R. E. Tarjan, J. Westbrook, M. Young, “Maintenance of a minimum spanning forest in a dynamic planar graph”, Proc. 1st ACM-SIAM Symp. on Discrete Algorithms, S.Francisco, 1990.

    Google Scholar 

  8. P. Erdös, A. Rènyi, “On random graphs I”, Publ. Math. Debrecen, 6, 290–297.

    Google Scholar 

  9. S. Even and H. Gazit, “Updating distances in dynamic graphs”, Methods of Operations Research, 49, 1985.

    Google Scholar 

  10. Z. Galil, G.F. Italiano, “Fully dynamic algorithms for edge-connectivity problems”, Proc. 23rd ACM Symp. on Theory of Comp., (1991) 317–327.

    Google Scholar 

  11. Z. Galil, G.F. Italiano, “Reducing edge connectivity to vertex connectivity”, SIGACT News, 22 (1) (1991) 57–61.

    Google Scholar 

  12. R.M. Karp, “The transitive closure of a random digraph”, Technical Report-89-047, International Computer Science Institute (ICSI), August 1989.

    Google Scholar 

  13. R.M. Karp, R.E. Tarjan, “Linear expected-time algorithms for connectivity problems”, Proc. of the 11th. annual ACM Symp. on Theory of Computing, 368–377, 1980.

    Google Scholar 

  14. G.F. Italiano, “Amortized efficiency of a path retrieval data structure”, Theoret. Comp. Sci., 48, 1986, 273–281.

    Google Scholar 

  15. G.F. Italiano, “Finding paths and deleting edges in directed acyclic graphs”, Inf. Proc. Lett., 28, 1988, 5–11.

    Google Scholar 

  16. J.A. La Poutré, “Maintenance of triconnected components of graphs”, Proc. 19th Int. Coll. Automata Languages and Programming, Lect. Not. in Computer Sci., Springer Verlag, (1992), 354–365.

    Google Scholar 

  17. J.A. La Poutré, J. van Leeuwen, “Maintenance of transitive closure and transitive reduction of graphs”, Proc Work. on Graph Theoretic concepts in Comp. Sci., Lect. Not. in Computer Sci., vol. 314, Springer Verlag, Berlin, 1985, 106–120.

    Google Scholar 

  18. H. Rohnert, “A dynamization of the all-pairs least cost path problem”, Proc. of the 2nd Symp. on Theoretical Aspects of Computer Science, Lect. Not. in Comp. Sci., vol. 182, Springer-Verlag, 1990.

    Google Scholar 

  19. J.H. Reif, P.G. Spirakis, M. Yung, “Fully dynamic graph connectivity in logarithmic expected time”, Alcom Technical Report, 1992.

    Google Scholar 

  20. M. Santha, U.V. Vazirani, “Generating quasi-random sequences from semi-random sources”, Journal of Computer and Systems Science, 33:75–87,1986.

    Google Scholar 

  21. R.E. Tarjan, Jan van Leeuwen, “Worst case analysis of set union algorithms”, Journal of Assoc. Comput. Mach., 31 (1984), 245–281.

    Google Scholar 

  22. J. Westbrook, “Algorithms and data structures for dynamic graph problems”, Ph.D. Dissertation, Tech. Rep. CS-TR-229-89, Dept. of Computer Science, Princeton University, 1989.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Jan van Leeuwen

Rights and permissions

Reprints and permissions

Copyright information

© 1994 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Alimonti, P., Leonardi, S., Marchetti-Spacccamela, A., Messeguer, X. (1994). Average case analysis of fully dynamic connectivity for directed graphs. In: van Leeuwen, J. (eds) Graph-Theoretic Concepts in Computer Science. WG 1993. Lecture Notes in Computer Science, vol 790. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-57899-4_43

Download citation

  • DOI: https://doi.org/10.1007/3-540-57899-4_43

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-57899-4

  • Online ISBN: 978-3-540-48385-4

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics