Skip to main navigation Skip to search Skip to main content

Research summary: Tabled evaluation for transaction logic programs

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

Abstract

In my thesis, I present problems and techniques in tabling Transaction Logic ( ). is an extension of classical logic programming with backtrackable state updates and it has a top-down evaluation algorithm similar to Prolog's SLD derivation extended with execution paths of states instead of a single global state. This backward chaining algorithm can be very inefficient by re-computing the same transactional queries more than once, or can enter into infinite loops by visiting the same paths of states an infinite number of times when computing answers to recursive programs. We solve these problems by memoizing (caching) the calls, call initial states, unifications (answers) and return states in a searchable structure for the Sequential Transaction Logic, respective building a graph for the query and tabling the nodes ready for current execution for the Concurrent Transaction Logic. Important problems of tabling are to store, index, update, query and resume states into memory. I implemented and measured the efficiency of multiple data structures used in tabling programs with backtrackable updates in XSB Prolog. My thesis studies the data structures and their performance for various applications of TR, such as, artificial intelligence planning, NP-complete graph algorithms (Hamiltonian cycle, clique, shortest consuming paths, connected components) and active databases. One of the most promising techniques was storing logs (i.e., inserts and deletes relative to a materialized state) into individual tries (optimized for querying), while keeping a global page trie as a common index for restarting.

Original languageEnglish
Title of host publicationLogic Programming - 25th International Conference, ICLP 2009, Proceedings
Pages525-526
Number of pages2
DOIs
StatePublished - 2009
Event25th International Conference on Logic Programming, ICLP 2009 - Pasadena, CA, United States
Duration: Jul 14 2009Jul 17 2009

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume5649 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference25th International Conference on Logic Programming, ICLP 2009
Country/TerritoryUnited States
CityPasadena, CA
Period07/14/0907/17/09

Fingerprint

Dive into the research topics of 'Research summary: Tabled evaluation for transaction logic programs'. Together they form a unique fingerprint.

Cite this