Simple rectangle-based functional programs for computing reflexive-transitive closures

2Citations
Citations of this article
4Readers
Mendeley users who have this article in their library.
Get full text

Abstract

We show how to systematically derive simple purely functional algorithms for computing the reflexive-transitive closure of directed graphs. Directed graphs can be represented as binary relations and we develop our algorithms based on a relation-algebraic description of reflexive-transitive closures. This description employs the relation-algebraic notion of rectangles and instantiating the resulting algorithm with different kinds of rectangles leads to different algorithms for computing reflexive-transitive closures. Using data refinement, we then develop simple Haskell programs for two specific choices of rectangles and show that one of them has cubic runtime like an imperative implementation of Warshall's standard algorithm. © 2012 Springer-Verlag.

Cite

CITATION STYLE

APA

Berghammer, R., & Fischer, S. (2012). Simple rectangle-based functional programs for computing reflexive-transitive closures. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 7560 LNCS, pp. 114–129). https://doi.org/10.1007/978-3-642-33314-9_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