arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1806.10176cs.DS
收藏

树分解动态规划的实用方法

Practical Access to Dynamic Programming on Tree Decompositions

Max Bannach, Sebastian Berndt

摘要:

在过去的几十年里,参数化复杂性理论导致了广泛的算法突破,但这些方法对现实世界问题的实用性仍然没有得到很好的理解。我们调查的实用性,这一领域的基本方法之一:动态规划的树分解。毫无疑问,这是参数化算法和现代算法设计中的关键技术。尽管这种方法在理论上产生了巨大的影响,但它对实际实现的影响仍然很小。造成这一现象的原因是多方面的。其中之一是这样一个简单的事实,即这样的实现需要一长串不平凡的任务(如计算分解,准备分解,...)。我们提供了一种简单的方法来实现这样的动态程序,只需要定义的更新规则。有了这个接口,各种问题的动态程序,如3-着色,可以很容易地在大约100行结构化Java代码中实现。动态规划在树分解上的成功的理论基础是很好地理解的,由于Courcelle的著名定理,该定理指出,如果给出一个小宽度的树分解,则每个MSO可定义的问题都可以有效地解决。我们试图提供实际的访问这个定理,以及,提出了一个轻量级的模型检查器的一小部分MSO。这个片段足够强大,可以描述许多自然问题,我们的模型检查器与类似的最先进的工具相比非常有竞争力。

英文摘要:

Parameterized complexity theory has lead to a wide range of algorithmic breakthroughs within the last decades, but the practicability of these methods for real-world problems is still not well understood. We investigate the practicability of one of the fundamental approaches of this field: dynamic programming on tree decompositions. Indisputably, this is a key technique in parameterized algorithms and modern algorithm design. Despite the enormous impact of this approach in theory, it still has very little influence on practical implementations. The reasons for this phenomenon are manifold. One of them is the simple fact that such an implementation requires a long chain of non-trivial tasks (as computing the decomposition, preparing it,...). We provide an easy way to implement such dynamic programs that only requires the definition of the update rules. With this interface, dynamic programs for various problems, such as 3-coloring, can be implemented easily in about 100 lines of structured Java code. The theoretical foundation of the success of dynamic programming on tree decompositions is well understood due to Courcelle's celebrated theorem, which states that every MSO-definable problem can be efficiently solved if a tree decomposition of small width is given. We seek to provide practical access to this theorem as well, by presenting a lightweight model-checker for a small fragment of MSO. This fragment is powerful enough to describe many natural problems, and our model-checker turns out to be very competitive against similar state-of-the-art tools.

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

↑