On Combining Linear-Based Strategies for Tabled Evaluation of Logic Programs
Miguel Areias, Ricardo Rocha

TL;DR
This paper introduces a new linear tabling strategy called DRS and a framework that combines it with existing strategies, enabling a fair comparison and better understanding of their respective strengths and weaknesses.
Contribution
The paper proposes the DRS strategy and a unified framework for combining multiple linear tabling strategies within the Yap system.
Findings
Shared execution environment facilitates comparison of strategies.
Combining strategies reveals their individual advantages and limitations.
Implementation demonstrates the feasibility of integrating multiple strategies.
Abstract
Tabled evaluation is a recognized and powerful technique that overcomes some limitations of traditional Prolog systems in dealing with recursion and redundant sub-computations. We can distinguish two main categories of tabling mechanisms: suspension-based tabling and linear tabling. While suspension-based mechanisms are considered to obtain better results in general, they have more memory space requirements and are more complex and harder to implement than linear tabling mechanisms. Arguably, the SLDT and DRA strategies are the two most successful extensions to standard linear tabled evaluation. In this work, we propose a new strategy, named DRS, and we present a framework, on top of the Yap system, that supports the combination of all these three strategies. Our implementation shares the underlying execution environment and most of the data structures used to implement tabling in Yap.…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
