Dynamic mixed-strategy evaluation of tabled logic programs

  • Authors:
  • Ricardo Rocha;Fernando Silva;Vítor Santos Costa

  • Affiliations:
  • DCC-FC & LIACC, University of Porto, Portugal;DCC-FC & LIACC, University of Porto, Portugal;COPPE Systems & LIACC, Federal University of Rio de Janeiro, Brazil

  • Venue:
  • ICLP'05 Proceedings of the 21st international conference on Logic Programming
  • Year:
  • 2005

Quantified Score

Hi-index 0.00

Visualization

Abstract

Tabling is an implementation technique that improves the declarativeness and expressiveness of Prolog by reusing answers to subgoals. During tabled execution, several decisions have to be made. These are determined by the scheduling strategy. Whereas a strategy can achieve very good performance for certain applications, for others it might add overheads and even lead to unacceptable inefficiency. The ability of using multiple strategies within the same evaluation can be a means of achieving the best possible performance. In this work, we present how the YapTab system was designed to support dynamic mixed-strategy evaluation of the two most successful tabling scheduling strategies: batched scheduling and local scheduling.