Next Article in Journal
Long Short-Term Memory Neural Network Applied to Train Dynamic Model and Speed Prediction
Next Article in Special Issue
A Compendium of Parameterized Problems at Higher Levels of the Polynomial Hierarchy
Previous Article in Journal
An Application of Manifold Learning in Global Shape Descriptors
Previous Article in Special Issue
Randomized Parameterized Algorithms for the Kidney Exchange Problem

Practical Access to Dynamic Programming on Tree Decompositions †

Institute for Theoretical Computer Science, Universität zu Lübeck, 23562 Lübeck, Germany
Department of Computer Science, Kiel University, 24103 Kiel, Germany
Author to whom correspondence should be addressed.
This paper is an extended version of our paper published in ESA 2018.
Algorithms 2019, 12(8), 172;
Received: 18 July 2019 / Revised: 5 August 2019 / Accepted: 13 August 2019 / Published: 16 August 2019
(This article belongs to the Special Issue New Frontiers in Parameterized Complexity and Algorithms)
Parameterized complexity theory has led to a wide range of algorithmic breakthroughs within the last few 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 1 (that is, we do not consider “edge-set-based” problems). 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. View Full-Text
Keywords: fixed-parameter tractability; treewidth; model checking fixed-parameter tractability; treewidth; model checking
Show Figures

Figure 1

MDPI and ACS Style

Bannach, M.; Berndt, S. Practical Access to Dynamic Programming on Tree Decompositions. Algorithms 2019, 12, 172.

AMA Style

Bannach M, Berndt S. Practical Access to Dynamic Programming on Tree Decompositions. Algorithms. 2019; 12(8):172.

Chicago/Turabian Style

Bannach, Max, and Sebastian Berndt. 2019. "Practical Access to Dynamic Programming on Tree Decompositions" Algorithms 12, no. 8: 172.

Find Other Styles
Note that from the first issue of 2016, MDPI journals use article numbers instead of page numbers. See further details here.

Article Access Map by Country/Region

Back to TopTop