Sciweavers

JELIA
2010
Springer

Retroactive Subsumption-Based Tabled Evaluation of Logic Programs

13 years 3 months ago
Retroactive Subsumption-Based Tabled Evaluation of Logic Programs
Abstract. Tabled evaluation is a recognized and powerful implementation technique that overcomes some limitations of traditional Prolog systems in dealing with recursion and redundant sub-computations. Tabling based systems use call similarity to determine if a tabled subgoal will produce their own answers or if it will consume from another subgoal. While call variance has been a very popular approach, call subsumption can yield superior time performance and space improvements as it allows greater reuse of answers. However, the call order of the subgoals can greatly affect the success and applicability of the call subsumption technique. In this work, we present an extension, named Retroactive Call Subsumption, that supports call subsumption by allowing full sharing of answers between subsumed/subsuming subgoals, independently on the order in which they are called. Our experiments using the YapTab tabling engine show considerable gains in evaluation time for some applications, at the e...
Flávio Cruz, Ricardo Rocha
Added 28 Jan 2011
Updated 28 Jan 2011
Type Journal
Year 2010
Where JELIA
Authors Flávio Cruz, Ricardo Rocha
Comments (0)