Nothing Special   »   [go: up one dir, main page]

skip to main content
article

Speeding up dynamic transitive closure for bounded degree graphs

Published: 01 April 1993 Publication History

Abstract

In this paper we present an algorithm for solving two problems in dynamically maintaining the transitive closure of a digraph: In the first problem a sequence of edge insertions is performed on an initially empty graph, interspersed withp transitive closure queries of the form: "is there a path froma tob in the graph". Our algorithm solves this problem in timeO (dm *+p), whered is the maximum outdegree of the resulting graphG andm * is the number of edges in the transitive closure ofG. In the second problem, a sequence of edge deletions is performed on anacyclic graph, interspersed withp transitive closure queries. Once again we solve this problem in timeO (dm *+p), whered is the maximum outdegree of the initial graphG andm * is the number of edges in the transitive closure ofG. For bounded degree graphs, this improves upon previous results. Our algorithms also work when insertions and deletions to the graph are intermixed. Finally, we show how to implement the operation findpath (x, y) which retrieves some path fromx toy in time proportional to the length of the path.

References

[1]
Aho, A., Hopcroft, J., Ullman, J.: The design and analysis of computer algorithms. Reading, Mass.: Addison Wesley 1974
[2]
Burke, M., Ryder, B.G.: Incremental iterative data flow analysis algorithms. Technical Report LCSR-TR-96, Rutgers University, Department of Computer Science, August 1987
[3]
Driscoll, J.R., Sarnak, N., Sleator, D.D., Tarjan, R.E.: Making data structures persistent. J. Comput. System Sci.38 (1), 86---124 (1989)
[4]
Horspool, N.: Incremental generation of LR parsers. Technical report, University of Victoria, Computer Science Department, March 1988
[5]
Ibaraki, T., Katoh, N.: On-line computation of transitive closure of graphs. Inf. Process. Lett.16, 95---97 (1983)
[6]
Italiano, G.F.: Amortized efficiency of a path retrieval data structure. Theor. Comput. Sci.48, 273---281 (1986)
[7]
Italiano, G.F.: Finding paths and deleting edges in directed acyclic graphs. Inf. Process. Lett.28 (1), 13---19 (1988)
[8]
Italiano, G.F., Spaccamela, A.M., Nanni, U.: Dynamic data structures for series parallel digraphs. Columbia University, January 1989
[9]
Jagadish, H.V.: A compressed transitive closure technique for efficient fixed-point query processing. In: Proceedings of the Second International Conference on Expert Database Systems, Tysons Corner, VA, April 1988
[10]
La Poutre, J.A., van Leeuwen, J.: Maintenance of transitive closures and transitive reductions of graphs. In: Gottler, H., Schneider, H.J. (eds.) Graph-theoretic concepts in computer science 1987. (Lect. Notes Comput. Sci., vol. 314, pp. 106---120) Berlin Heidelberg New York: Springer 1988
[11]
Preparata, F.P., Tamassia, R.: Fully dynamic techniques for point location and transitive closure in planar structures. In: Proceedings of the 29th Annual Symposium on Foundations of Computer Science, p. 558---567, 1988
[12]
Tarjan, R.E.: Data structures and network algorithms.Philadephia, PA: Siam 1983
[13]
Yellin, D.M., Strom, R.: INC: A language for incremental computations. ACM Trans. Programming Languages and Syst.13 (2), 211---236 (1991)

Cited By

View all
  • (2022)Verified First-Order Monitoring with Recursive RulesTools and Algorithms for the Construction and Analysis of Systems10.1007/978-3-030-99527-0_13(236-253)Online publication date: 2-Apr-2022
  • (2021)Systemizing Interprocedural Static Analysis of Large-scale Systems Code with GraspanACM Transactions on Computer Systems10.1145/346682038:1-2(1-39)Online publication date: 29-Jul-2021
  • (2017)GraspanACM SIGARCH Computer Architecture News10.1145/3093337.303774445:1(389-404)Online publication date: 4-Apr-2017
  • Show More Cited By
  1. Speeding up dynamic transitive closure for bounded degree graphs

    Recommendations

    Comments

    Please enable JavaScript to view thecomments powered by Disqus.

    Information & Contributors

    Information

    Published In

    cover image Acta Informatica
    Acta Informatica  Volume 30, Issue 4
    April 1993
    99 pages

    Publisher

    Springer-Verlag

    Berlin, Heidelberg

    Publication History

    Published: 01 April 1993

    Qualifiers

    • Article

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)0
    • Downloads (Last 6 weeks)0
    Reflects downloads up to 25 Nov 2024

    Other Metrics

    Citations

    Cited By

    View all
    • (2022)Verified First-Order Monitoring with Recursive RulesTools and Algorithms for the Construction and Analysis of Systems10.1007/978-3-030-99527-0_13(236-253)Online publication date: 2-Apr-2022
    • (2021)Systemizing Interprocedural Static Analysis of Large-scale Systems Code with GraspanACM Transactions on Computer Systems10.1145/346682038:1-2(1-39)Online publication date: 29-Jul-2021
    • (2017)GraspanACM SIGARCH Computer Architecture News10.1145/3093337.303774445:1(389-404)Online publication date: 4-Apr-2017
    • (2017)GraspanACM SIGPLAN Notices10.1145/3093336.303774452:4(389-404)Online publication date: 4-Apr-2017
    • (2017)GraspanProceedings of the Twenty-Second International Conference on Architectural Support for Programming Languages and Operating Systems10.1145/3037697.3037744(389-404)Online publication date: 4-Apr-2017
    • (2014)Ranking tweets by labeled and collaboratively selected pairs with transitive closureProceedings of the Twenty-Eighth AAAI Conference on Artificial Intelligence10.5555/2893873.2894065(1235-1241)Online publication date: 27-Jul-2014
    • (2010)Dynamic graph algorithmsAlgorithms and theory of computation handbook10.5555/1882757.1882766(9-9)Online publication date: 1-Feb-2010
    • (2008)Mantaining Dynamic Matrices for Fully Dynamic Transitive ClosureAlgorithmica10.5555/3118738.311885151:4(387-427)Online publication date: 1-Aug-2008
    • (2008)Efficient Implementation of the Italiano Algorithms for Updating the Transitive Closure on Associative Parallel ProcessorsFundamenta Informaticae10.5555/2366356.236636389:2-3(313-329)Online publication date: 1-Apr-2008
    • (2008)Efficient Implementation of the Italiano Algorithms for Updating the Transitive Closure on Associative Parallel ProcessorsFundamenta Informaticae10.5555/1497105.149711289:2-3(313-329)Online publication date: 1-Dec-2008
    • Show More Cited By

    View Options

    View options

    Login options

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media