Hostname: page-component-89b8bd64d-ksp62 Total loading time: 0 Render date: 2026-05-06T16:41:05.021Z Has data issue: false hasContentIssue false

Optimizing Answer Set Computation via Heuristic-Based Decomposition

Published online by Cambridge University Press:  28 February 2019

FRANCESCO CALIMERI*
Affiliation:
Department of Mathematics and Computer Science, University of Calabria, Rende, Italy (e-mails: calimeri@mat.unical.it, perri@mat.unical.it, zangari@mat.unical.it)
SIMONA PERRI
Affiliation:
Department of Mathematics and Computer Science, University of Calabria, Rende, Italy (e-mails: calimeri@mat.unical.it, perri@mat.unical.it, zangari@mat.unical.it)
JESSICA ZANGARI
Affiliation:
Department of Mathematics and Computer Science, University of Calabria, Rende, Italy (e-mails: calimeri@mat.unical.it, perri@mat.unical.it, zangari@mat.unical.it)

Abstract

Answer Set Programming (ASP) is a purely declarative formalism developed in the field of logic programming and non-monotonic reasoning: computational problems are encoded by logic programs whose answer sets, corresponding to solutions, are computed by an ASP system. Different, semantically equivalent, programs can be defined for the same problem; however, performance of systems evaluating them might significantly vary. We propose an approach for automatically transforming an input logic program into an equivalent one that can be evaluated more efficiently. One can make use of existing tree-decomposition techniques for rewriting selected rules into a set of multiple ones; the idea is to guide and adaptively apply them on the basis of proper new heuristics, to obtain a smart rewriting algorithm to be integrated into an ASP system. The method is rather general: it can be adapted to any system and implement different preference policies. Furthermore, we define a set of new heuristics tailored at optimizing grounding, one of the main phases of the ASP computation; we use them in order to implement the approach into the ASP system DLV, in particular into its grounding subsystem ℐ-DLV, and carry out an extensive experimental activity for assessing the impact of the proposal.

Information

Type
Rapid Communication
Copyright
© Cambridge University Press 2019 

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Article purchase

Temporarily unavailable

Supplementary material: PDF

Calimeri supplementary material

Calimeri supplementary material 1

Download Calimeri supplementary material(PDF)
PDF 88.4 KB