Skip to main navigation Skip to search Skip to main content

A space efficient engine for subsumption-based tabled evaluation of logic programs

  • Stony Brook University

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

12 Scopus citations

Abstract

Tabled resolution improves efficiency as well as termination properties of logic programs by sharing answer computations across "similar" subgoals. Similarity based on subsumption of subgoals rather than variance (i.e., identity modulo variable renaming) promotes more aggressive sharing, but requires mechanisms to index answers from dynamically growing sets. Earlier we proposed Dynamic Threaded Sequential Automata (DTSA) as the data structure for organizing answer tables in subsumption-based tabling. Using a DTSA, we can retrieve answers one at a time from the table, strictly in the order of their insertion. Although DTSA performed very well, its space usage was high. Here we present an alternative data structure called Time-Stamped Trie (TST) that relaxes the retrieval order, and yet ensures that all answers will be eventually retrieved. We show that TST has superior space performance to DTSA in theory as well as practice, without sacrificing time performance.

Original languageEnglish
Title of host publicationFunctional and Logic Programming - 4th Fuji International Symposium, FLOPS 1999, Proceedings
EditorsAart Middeldorp, Taisuke Sato
PublisherSpringer Verlag
Pages284-299
Number of pages16
ISBN (Print)354066677X, 9783540666776
DOIs
StatePublished - 1999
Event4th Fuji International Symposium on Functional and Logic Programming, FLOPS 1999 - Tsukuba, Japan
Duration: Nov 11 1999Nov 13 1999

Publication series

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

Conference

Conference4th Fuji International Symposium on Functional and Logic Programming, FLOPS 1999
Country/TerritoryJapan
CityTsukuba
Period11/11/9911/13/99

Fingerprint

Dive into the research topics of 'A space efficient engine for subsumption-based tabled evaluation of logic programs'. Together they form a unique fingerprint.

Cite this