Skip to main navigation Skip to search Skip to main content

A local algorithm for incremental evaluation of tabled logic programs

  • Stony Brook University

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

11 Scopus citations

Abstract

This paper considers the problem of efficient incremental maintenance of memo tables in a tabled logic programming system. Most existing techniques for this problem consider insertion and deletion of facts as primitive changes, and treat update as deletion of the old version followed by insertion of the new version. They handle insertion and deletion using independent algorithms, consequently performing many redundant computations when processing updates. In this paper, we present a local algorithm for handling updates to facts. The key idea is to interleave the propagation of deletion and insertion operations generated by the updates through a dynamic (and potentially cyclic) dependency graph. The dependency graph used in our algorithm is more general than that used in algorithms previously proposed for incremental evaluation of attribute grammars and functional programs. Nevertheless, our algorithm's complexity matches that of the most efficient algorithms built for these specialized cases. We demonstrate the effectiveness of our algorithm using data-flow analysis and parsing examples.

Original languageEnglish
Title of host publicationLogic Programming - 22nd International Conference, ICLP 2006, Proceedings
PublisherSpringer Verlag
Pages56-71
Number of pages16
ISBN (Print)9783540366355
DOIs
StatePublished - 2006
Event22nd International Conference on Logic Programming, ICLP 2006 - Seattle, WA, United States
Duration: Aug 17 2006Aug 20 2006

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume4079 LNCS

Conference

Conference22nd International Conference on Logic Programming, ICLP 2006
Country/TerritoryUnited States
CitySeattle, WA
Period08/17/0608/20/06

Fingerprint

Dive into the research topics of 'A local algorithm for incremental evaluation of tabled logic programs'. Together they form a unique fingerprint.

Cite this