LP with flexible grouping and aggregates using modes

  • Authors:
  • Marcin Czenko;Sandro Etalle

  • Affiliations:
  • Department of Computer Science, University of Twente, The Netherlands;Eindhoven University of Technology and University of Twente, The Netherlands

  • Venue:
  • LOPSTR'09 Proceedings of the 19th international conference on Logic-Based Program Synthesis and Transformation
  • Year:
  • 2009

Quantified Score

Hi-index 0.00

Visualization

Abstract

We propose a new grouping operator for logic programs based on the bagof predicate. The novelty of our proposal lies in the use of modes, which allows us to prove properties regarding groundness of computed answer substitutions and termination. Moreover, modes allow us to define a somewhat declarative semantics for it and to relax some rather unpractical constraints on variable occurrences while retaining a straightforward semantics.