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

树宽和投影答案集计数

Treewidth and Counting Projected Answer Sets

Johannes K. Fichte, Markus Hecher

摘要:

在本文中,我们介绍了新的算法来解决投影答案集计数(#PAs)。#PA要求计算相对于给定的投射原子集合的答案集合的数量,其中当限制于投射原子时相同的多个答案集合仅计为一个投射答案集合。我们的算法通过动态规划(DP)利用输入实例原始图的小树宽。我们建立了一个新的算法头周期自由(HCF)的程序和升降机最近的结果从投影模型计数到#PA时,输入仅限于HCF程序。此外,我们将展示如何建立DP算法紧,正常,和析取答案集程序可以扩展到解决#PA。我们的算法运行在多项式时间,而需要双指数时间的树宽度紧,正常,和HCF程序,和三倍指数时间的析取程序。最后,我们考虑到指数时间假设(ETH),并建立了有界树宽算法的下界。在ETH下,我们无法显著改善我们获得的最坏情况运行时。

英文摘要:

In this paper, we introduce novel algorithms to solve projected answer set counting (#PAs). #PAs asks to count the number of answer sets with respect to a given set of projected atoms, where multiple answer sets that are identical when restricted to the projected atoms count as only one projected answer set. Our algorithms exploit small treewidth of the primal graph of the input instance by dynamic programming (DP). We establish a new algorithm for head-cycle-free (HCF) programs and lift very recent results from projected model counting to #PAs when the input is restricted to HCF programs. Further, we show how established DP algorithms for tight, normal, and disjunctive answer set programs can be extended to solve #PAs. Our algorithms run in polynomial time while requiring double exponential time in the treewidth for tight, normal, and HCF programs, and triple exponential time for disjunctive programs. Finally, we take the exponential time hypothesis (ETH) into account and establish lower bounds of bounded treewidth algorithms for #PAs. Under ETH, one cannot significantly improve our obtained worst-case runtimes.

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

↑