Hostname: page-component-74656f9884-j7cmm Total loading time: 0 Render date: 2026-11-10T12:38:07.048Z Has data issue: false hasContentIssue false

Disjunctive answer set solvers via templates

Published online by Cambridge University Press:  17 December 2015

REMI BROCHENIN
Affiliation:
DIBRIS, University of Genova, Viale F. Causa 15, 16145, Genova, Italy (e-mail: remi.brochenin@unige.it, marco@dibris.unige.it)
MARCO MARATEA
Affiliation:
DIBRIS, University of Genova, Viale F. Causa 15, 16145, Genova, Italy (e-mail: remi.brochenin@unige.it, marco@dibris.unige.it)
YULIYA LIERLER
Affiliation:
Department of Computer Science, University of Nebraska at Omaha, 6001 Dodge Street, Omaha, NE 68182 (e-mail: ylierler@unomaha.edu)
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.

Answer set programming is a declarative programming paradigm oriented towards difficult combinatorial search problems. A fundamental task in answer set programming is to compute stable models, i.e., solutions of logic programs. Answer set solvers are the programs that perform this task. The problem of deciding whether a disjunctive program has a stable model is ΣP 2-complete. The high complexity of reasoning within disjunctive logic programming is responsible for few solvers capable of dealing with such programs, namely dlv, gnt, cmodels, clasp and wasp. In this paper, we show that transition systems introduced by Nieuwenhuis, Oliveras, and Tinelli to model and analyze satisfiability solvers can be adapted for disjunctive answer set solvers. Transition systems give a unifying perspective and bring clarity in the description and comparison of solvers. They can be effectively used for analyzing, comparing and proving correctness of search algorithms as well as inspiring new ideas in the design of disjunctive answer set solvers. In this light, we introduce a general template, which accounts for major techniques implemented in disjunctive solvers. We then illustrate how this general template captures solvers dlv, gnt, and cmodels. We also show how this framework provides a convenient tool for designing new solving algorithms by means of combinations of techniques employed in different solvers.

Information

Type
Regular Papers
Copyright
Copyright © Cambridge University Press 2015