Hostname: page-component-6766d58669-vgfm9 Total loading time: 0 Render date: 2026-05-16T14:30:25.743Z Has data issue: false hasContentIssue false

Shared aggregate sets in answer set programming

Published online by Cambridge University Press:  10 August 2018

MARIO ALVIANO
Affiliation:
DEMACS, University of Calabria, Italy (e-mail: alviano@mat.unical.it)
CARMINE DODARO
Affiliation:
DIBRIS, University of Genova, Italy (e-mails: dodaro@dibris.unige.it, marco@dibris.unige.it)
MARCO MARATEA
Affiliation:
DIBRIS, University of Genova, Italy (e-mails: dodaro@dibris.unige.it, marco@dibris.unige.it)
Rights & Permissions [Opens in a new window]

Abstract

Core share and HTML view are not available for this content. However, as you have access to this content, a full PDF is available via the 'Save PDF' action button.

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.

Information

Type
Original Article
Copyright
Copyright © Cambridge University Press 2018