Get our free extension to see links to code for papers anywhere online!

Chrome logo Add to Chrome

Firefox logo Add to Firefox


Grounding Recursive Aggregates: Preliminary Report

Mar 12, 2016
Martin Gebser, Roland Kaminski, Torsten Schaub



Problem solving in Answer Set Programming consists of two steps, a first grounding phase, systematically replacing all variables by terms, and a second solving phase computing the stable models of the obtained ground program. An intricate part of both phases is the treatment of aggregates, which are popular language constructs that allow for expressing properties over sets. In this paper, we elaborate upon the treatment of aggregates during grounding in Gringo series 4. Consequently, our approach is applicable to grounding based on semi-naive database evaluation techniques. In particular, we provide a series of algorithms detailing the treatment of recursive aggregates and illustrate this by a running example.

* 21 pages, 7 figures, preliminary version appeared at GTTV'15 


Share this with someone who'll enjoy it:

   Access Paper Source



Share this with someone who'll enjoy it: