arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1702.02890cs.LOcs.AIcs.CC
收藏

再论有界树宽的答案集求解

Answer Set Solving with Bounded Treewidth Revisited

University of Potsdam(波茨坦大学);TU Wien(维也纳工业大学)

Johannes Fichte, Markus Hecher, Michael Morak, Stefan Woltran

摘要:

参数化算法是一种更有效地解决困难问题的方法,因为输入的特定参数很小。本文将这一思想应用于答案集编程领域。为此,我们提出了两种图形表示的程序,利用其树宽作为参数。树宽大致衡量程序的内部结构在多大程度上类似于树。我们的主要贡献是设计参数化的动态规划算法,它运行在线性时间,如果给定的程序的树宽和权重是有界的。与以前的工作相比,我们的算法处理的ASP。最后,我们报告的实证评估,表现出良好的运行时行为的基准实例的低树宽,特别是计数的答案集。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑