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.
Preview
Unable to display preview. Download preview PDF.
References
G. Ausiello, G. F. Italiano, A. Marchetti-Spaccamela, U. Nanni, “Incremental algorithms for minimal length paths”, J. of Algorithms, 12 (1991), 615–638.
A. Blum, “Some tools for approximate 3-coloring”, Proceedings of the 31st IEEE Symposium on Foundations of Computer Science, 1990.
B. Bollobas, “Random graphs”, Academic Press, 1985.
G. Di Battista and R.Tamassia, “Incremental planarity testing”, Proc. 30th annual Symp. on Foundations of Computer Science, 1989.
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.
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.
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.
P. Erdös, A. Rènyi, “On random graphs I”, Publ. Math. Debrecen, 6, 290–297.
S. Even and H. Gazit, “Updating distances in dynamic graphs”, Methods of Operations Research, 49, 1985.
Z. Galil, G.F. Italiano, “Fully dynamic algorithms for edge-connectivity problems”, Proc. 23rd ACM Symp. on Theory of Comp., (1991) 317–327.
Z. Galil, G.F. Italiano, “Reducing edge connectivity to vertex connectivity”, SIGACT News, 22 (1) (1991) 57–61.
R.M. Karp, “The transitive closure of a random digraph”, Technical Report-89-047, International Computer Science Institute (ICSI), August 1989.
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.
G.F. Italiano, “Amortized efficiency of a path retrieval data structure”, Theoret. Comp. Sci., 48, 1986, 273–281.
G.F. Italiano, “Finding paths and deleting edges in directed acyclic graphs”, Inf. Proc. Lett., 28, 1988, 5–11.
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.
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.
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.
J.H. Reif, P.G. Spirakis, M. Yung, “Fully dynamic graph connectivity in logarithmic expected time”, Alcom Technical Report, 1992.
M. Santha, U.V. Vazirani, “Generating quasi-random sequences from semi-random sources”, Journal of Computer and Systems Science, 33:75–87,1986.
R.E. Tarjan, Jan van Leeuwen, “Worst case analysis of set union algorithms”, Journal of Assoc. Comput. Mach., 31 (1984), 245–281.
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.
Author information
Authors and Affiliations
Editor information
Rights 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