D-FLAT is a framework for developing algorithms that solve computational problems by dynamic programming on a tree decomposition of the problem instance. The dynamic programming algorithm is specified by means of Answer-Set Programming (ASP), allowing for declarative and succinct specifications. D-FLAT traverses the tree decomposition and calls an ASP system with the provided specification at each tree decomposition node. It is thus crucial that the evaluation of the ASP program is done in an efficient way. As experiments have shown, problems that include weights or more involved arithmetics slow down this step significantly due to the grounding step in ASP, which yields large ground programs in these cases. To overcome this problem, we equip D-FLAT with built-in counters in order to shift certain computations from the ASP side to the internal part of D-FLAT. In this paper, we highlight this new feature and provide empirical benchmarks on weighted versions of the Dominating Set problem showing that our new version increases D-FLAT’s robustness and efficiency.
CITATION STYLE
Abseher, M., Moldovan, M., & Woltran, S. (2016). Providing built-in counters in a declarative dynamic programming environment. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 9904 LNAI, pp. 3–16). Springer Verlag. https://doi.org/10.1007/978-3-319-46073-4_1
Mendeley helps you to discover research relevant for your work.