کد مقاله کد نشریه سال انتشار مقاله انگلیسی نسخه تمام متن
432974 689180 2015 18 صفحه PDF دانلود رایگان
عنوان انگلیسی مقاله ISI
Combining relation algebra and data refinement to develop rectangle-based functional programs for reflexive–transitive closures
ترجمه فارسی عنوان
ترکیب جبر جبری و پالایش داده ها برای توسعه برنامه های کاربردی مبتنی بر مستطیل برای بازخورد دادن بسته های پیوندی
کلمات کلیدی
نمودارهای هدایت شده، جبر ارتباطی، بستن بازخورد-انتقالی مستطیل، برنامه نویسی کاربردی هاسلل
موضوعات مرتبط
مهندسی و علوم پایه مهندسی کامپیوتر نظریه محاسباتی و ریاضیات
چکیده انگلیسی


• We develop a generic relational algorithm for reflexive–transitive closures.
• The generic algorithm bases on the notion of a rectangle.
• By data refinement we develop Haskell programs for two choices of rectangles.
• We show that one of them has cubic running time as Warshall's algorithm.
• We apply our approach to operations of relation algebra and graph problems.

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 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 running time like Warshall's standard algorithm. Finally, we apply our approach to other standard operations of relation algebra and present graph theoretic applications of our developments.

ناشر
Database: Elsevier - ScienceDirect (ساینس دایرکت)
Journal: Journal of Logical and Algebraic Methods in Programming - Volume 84, Issue 3, May 2015, Pages 341–358
نویسندگان
, ,