Shared aggregate sets in answer set programming

04/23/2018
by   Mario Alviano, et al.
0

Aggregates are among the most frequently used linguistic extensions of answer set programming. The result of an aggregation may introduce new constants during the instantiation of the input program, a feature known as value invention. When the aggregation involves literals whose truth value is undefined at instantiation time, modern grounders introduce several instances of the aggregate, one for each possible interpretation of the undefined literals. This paper introduces new data structures and techniques to handle such cases, and more in general aggregations on the same aggregate set identified in the ground program in input. The proposed solution reduces the memory footprint of the solver without sacrificing efficiency. On the contrary, the performance of the solver may improve thanks to the addition of some simple entailed clauses which are not easily discovered otherwise, and since redundant computation is avoided during propagation. Empirical evidence of the potential impact of the proposed solution is given. (Under consideration for acceptance in TPLP).

READ FULL TEXT

page 1

page 2

page 3

page 4

research
09/22/2020

Automated Aggregator – Rewriting with the Counting Aggregate

Answer set programming is a leading declarative constraint programming p...
research
05/08/2019

SMT-based Constraint Answer Set Solver EZSMT+

Constraint answer set programming integrates answer set programming with...
research
08/05/2020

eclingo: A solver for Epistemic Logic Programs

We describe eclingo, a solver for epistemic logic programs under Gelfond...
research
07/19/2019

Enhancing magic sets with an application to ontological reasoning

Magic sets are a Datalog to Datalog rewriting technique to optimize quer...
research
04/23/2018

Cautious reasoning in ASP via minimal models and unsatisfiable cores

Answer Set Programming (ASP) is a logic-based knowledge representation f...
research
01/11/2019

Dependency Weighted Aggregation on Factorized Databases

We study a new class of aggregation problems, called dependency weighted...
research
12/24/2019

Aggressive Aggregation: a New Paradigm for Program Optimization

In this paper, we propose a new paradigm for program optimization which ...

Please sign up or login with your details

Forgot password? Click here to reset