On the Floyd-Warshall algorithm for logic programs

28Citations
Citations of this article
20Readers
Mendeley users who have this article in their library.

This article is free to access.

Abstract

We explore the possibility of evaluating single-rule Datalog programs efficiently and with logarithmic work space by a natural extension of the Floyd-Warshall algorithm for transitive closure. We characterize exactly the single rule chain programs that can be so evaluated - they are rather modest generalizations of the transitive closure. The proof relies on an interesting language-theoretic concept, total ambiguity. Extensions to more general classes of programs, and more general algorithms, are discussed.

Cite

CITATION STYLE

APA

Papadimitriou, C., & Sideri, M. (1999). On the Floyd-Warshall algorithm for logic programs. Journal of Logic Programming, 41(1), 129–137. https://doi.org/10.1016/S0743-1066(99)00013-8

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free