Skip to main content

An improved algorithm for transitive closure on acyclic digraphs

  • Conference paper
  • First Online:
Automata, Languages and Programming (ICALP 1986)

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

Included in the following conference series:

Abstract

In [6] Geralcikova, Koubek describe an algorithm for finding the transitive closure of an acyclic digraph G with worst case runtime O(n·e red), where n is the number of nodes and e red is the number of edges in the transitive reduction of G. We present an improvement on their algorithm which runs in worst case time O(k·e red) and space O(n·k), where k is the width of a chain decomposition. For the expected values in the G n,p model of a random acyclic digraph with 0 < p < 1 we have:

$$\begin{gathered}E(k) = O(\frac{{\ln (p \cdot n)}}{p}) \hfill \\E(e_{red} ) = O(\min (n \cdot |lnp|,p \cdot n^2 )) = O(n \cdot \ln n) \hfill \\E(k \cdot e_{red} ) = \left\{ {\begin{array}{*{20}c}{O(n^2 )for\frac{{ln^2 n}}{n} \leqslant p < 1} \\{O(n^2 \cdot \ln \ln n)otherwise} \\\end{array} } \right. \hfill \\\end{gathered}$$

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.

7. References

  1. I.N. Bronstein, K.A. Semendjajew: ”Taschenbuch der Mathematik”, 20.Auflage, Verlag Harri Deutsch, 1981.

    Google Scholar 

  2. M. O'hEigeartaigh, J.K. Lenstra, A.H.G. Rinnooy Kan: “Combinatorial Optimization”, John Wiley & Sons, New York, Annotated Bibliographies, 1985.

    Google Scholar 

  3. P. Erdös, J. Spencer: “Probabilistic Methods in Combinatorics”, Academic Press, New York, 1974.

    Google Scholar 

  4. W. Feller: “An Introduction to Probability Theory and Its Applications”, Vol.1–2, John Wiley & Sons, New York, (1960 a. 1966)

    Google Scholar 

  5. Ph. Flajolet: “Approximate Counting: A Detailed Analysis.”, BIT, 25, 113–134, (1985).

    Google Scholar 

  6. A. Goralcikowa, V. Koubek: “A Reduct and Closure Algorithm for Graphs”, Mathematical Foundations of Computer Science 79, Springer lecture Notes in Computer Science 74, 301–307.

    Google Scholar 

  7. A.J. Jammel, H.G. Stiegler: “On Expected Costs of Deadlock Detection”, Information Processing Letters, Vol.11, 229–231, 1980.

    Google Scholar 

  8. K. Mehlhorn: “Data Structures and Algorithms”, Vol.2: “Graph Algorithms and NP-Completeness”, Springer Verlag, EATCS Monographs in Computer Science, 1984.

    Google Scholar 

  9. C.P. Schnorr: “An Algorithm for Transitive Closure with Linear Expected Time”, SIAM J. Comput. 7, 124–133, 1968.

    Google Scholar 

  10. K. Simon: “An Improved Algorithm for Transitive Closure on Acyclic Digraphs”, Technical Report A 85 / 13, Universitat des Saarlandes, Fachbereich 10, 1985

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Laurent Kott

Rights and permissions

Reprints and permissions

Copyright information

© 1986 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Simon, K. (1986). An improved algorithm for transitive closure on acyclic digraphs. In: Kott, L. (eds) Automata, Languages and Programming. ICALP 1986. Lecture Notes in Computer Science, vol 226. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-16761-7_87

Download citation

  • DOI: https://doi.org/10.1007/3-540-16761-7_87

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-16761-7

  • Online ISBN: 978-3-540-39859-2

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics