×

Answer set solving with bounded treewidth revisited. (English) Zbl 1491.68042

Balduccini, Marcello (ed.) et al., Logic programming and nonmonotonic reasoning. 14th international conference, LPNMR 2017, Espoo, Finland, July 3–6, 2017. Proceedings. Cham: Springer. Lect. Notes Comput. Sci. 10377, 132-145 (2017).
Summary: Parameterized algorithms are a way to solve hard problems more efficiently, given that a specific parameter of the input is small. In this paper, we apply this idea to the field of answer set programming (ASP). To this end, we propose two kinds of graph representations of programs to exploit their treewidth as a parameter. Treewidth roughly measures to which extent the internal structure of a program resembles a tree. Our main contribution is the design of parameterized dynamic programming algorithms, which run in linear time if the treewidth and weights of the given program are bounded. Compared to previous work, our algorithms handle the full syntax of ASP. Finally, we report on an empirical evaluation that shows good runtime behaviour for benchmark instances of low treewidth, especially for counting answer sets.
For the entire collection see [Zbl 1367.68005].

MSC:

68N17 Logic programming
68R10 Graph theory (including graph drawing) in computer science
68T30 Knowledge representation
68W40 Analysis of algorithms
PDF BibTeX XML Cite
Full Text: DOI arXiv