Skip to main content
Log in

Dynamic maintenance of the transitive closure in disjunctive graphs

  • Published:
Annals of Mathematics and Artificial Intelligence Aims and scope Submit manuscript

Abstract

We propose an approach with feasible space requirement to maintain the transitive closure of a class of hypergraphs called OR-graphs. OR-graphs are equivalent to disjunctive deductive databases where disjunctions are limited to one attribute in each OR-table. It has been shown that query processing in disjunctive deductive databases grows into CoNP with very simple examples, but few attempts have been made, as is done in this paper, to obtain classes of disjunctive databases and queries for which efficient algorithms exist. Polynomial time algorithms are presented to compute the transitive closure of OR-graphs and to handle dynamic insertions and deletions. With algorithms for insertions and deletions, we provide a simple but efficient technique to solve the failure set problem in reliability models, which is equivalent to finding the closure of an arbitrary non-empty set of simple nodes. We also show that a minimal extension to OR-graphs makes the computational complexity of the transitive closure CoNP-complete.

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

Access this article

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

Explore related subjects

Discover the latest articles, news and stories from top researchers in related subjects.

References

  1. G. Ausiello, A. D'Atri and D. Sacca, Minimal representation of directed hypergraphs, SIAM J. Comp. 15(1986)418–431.

    Google Scholar 

  2. G. Ausiello, U. Nanni and G.F. Italiano, Dynamic maintenance of directed hypergraphs, Theor. Comp. Sci. 72(1990)97–117.

    Google Scholar 

  3. C. Berge,Graphs and Hypergraphs (North-Holland, Amsterdam, 1973).

    Google Scholar 

  4. H. Boley, Directed recursive labelnode hypergraphs: A new representation language, Artificial Intelligence 9(1977)49–85.

    Google Scholar 

  5. R. Demolombe, An efficient evaluation strategy for non-Horn deductive databases,Proc. IFIP (1989).

  6. E.A. Emerson and C. Leis, Efficient model-checking in fragments of mu-calculus,Proc. Symp. on Logic in Computer Science (1986).

  7. J.A. Fernández and J. Minker, Bottom-up evaluation on disjunctive databases, in:Proc. Int. Conf. on Logic Programming, ed. K. Furukawa (MIT Press, Cambridge, MA, 1991) pp. 660–675.

    Google Scholar 

  8. M. Garey and D. Johson,Computers and Intractability, A Guide to Theory of NP-Completeness (Freeman, 1983).

  9. S. Gnesi, U. Montanari and A. Martelli, Dynamic programming as graph searching: An algebraic approach, J. ACM 28(1981)737–751.

    Google Scholar 

  10. K.-C. Guh and C. Yu, Efficient management of materalized generalized transitive closure in centralized and parallel environments, IEEE Trans. Knowledge and Data Eng. 4(1992)371–381.

    Google Scholar 

  11. T. Imielinski, Incomplete deductive databases, Ann. Math. and AI 3(1991)259–293.

    Google Scholar 

  12. T. Imielinski, S. Naqvi and K. Vadaparty, Querying design and planning databases,Proc. 2nd Int. Conf. on Deductive and Object Oriented Databases, Munich (1991) pp. 524–545.

  13. T. Imielinski and K. Vadaparty, Complexity of query processing in databases with OR-objects,Proc. 7th ACM SIGACT/SIGMOD Symp. on Principles of Database Systems, Philadelphia, PA (1989) pp. 51–65.

  14. Y. Liu, Null values in definite programs,Proc. North American Conf. on Logic Programming, Austin, TX (1990) pp. 273–288.

  15. J. Lobo, J. Minker and A. Rajasekar,Foundations of Disjunctive Logic Programming (MIT Press, Cambridge, MA, 1992).

    Google Scholar 

  16. I.J. Sacks, Digraph matrix analysis, IEEE Trans. Reliability R-34(1985)437–446.

    Google Scholar 

  17. J. Ullman,Database and Knowledge-Base Systems (Computer Science Press, 1988).

  18. M.Y. Vardi, The complexity of relational query languages,Proc. 14th ACM Symp. on Theory of Computing (1982) pp. 137–146.

  19. H.S. Warren, A modification of Washall's algorithm for the transitive closure of binary relations, Commun. ACM 18(1975)218–220.

    Google Scholar 

  20. M. Yannakakis, A theory of safe locking policies in database systems, J. ACM 29(1982)718–740.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Additional information

Research supported in part by NSF under IRI-9210220 and IRI-9111988, Omron Corporation and Omron Management Center of America.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Lobo, J., Yang, Q., Yu, C. et al. Dynamic maintenance of the transitive closure in disjunctive graphs. Ann Math Artif Intell 14, 151–176 (1995). https://doi.org/10.1007/BF01530818

Download citation

  • Issue Date:

  • DOI: https://doi.org/10.1007/BF01530818

Keywords