Counting and Enumeration Problems with Bounded Treewidth

By Courcelle's Theorem we know that any property of finite structures definable in monadic second-order logic (MSO) becomes tractable over structures with bounded treewidth. This result was extended to counting problems by Arnborg et al. and to enumeration problems by Flum et al. Despite the undisputed importance of these results for proving fixed-parameter tractability, they do not directly yield implementable algorithms. Recently, Gottlob et al. presented a new approach using monadic datalog to close the gap between theoretical tractability and practical computability for MSO-definable decision problems. In the current work we show how counting and enumeration problems can be tackled by an appropriate extension of the datalog approach.

[1]  Ton Kloks Treewidth, Computations and Approximations , 1994, Lecture Notes in Computer Science.

[2]  Werner Nutt,et al.  Rewriting aggregate queries using views , 1999, PODS.

[3]  J. Van Leeuwen,et al.  Handbook of theoretical computer science - Part A: Algorithms and complexity; Part B: Formal models and semantics , 1990 .

[4]  Bruno Courcelle,et al.  Linear delay enumeration and monadic second-order logic , 2009, Discret. Appl. Math..

[5]  Hans L. Bodlaender A linear time algorithm for finding tree-decompositions of small treewidth , 1993, STOC '93.

[6]  Rada Chirkova,et al.  Selecting and Using Views to Compute Aggregate Queries (Extended Abstract) , 2005, ICDT.

[7]  Moshe Y. Vardi The complexity of relational query languages (Extended Abstract) , 1982, STOC '82.

[8]  Leonid Libkin,et al.  Elements of Finite Model Theory , 2004, Texts in Theoretical Computer Science.

[9]  Maurizio Rafanelli,et al.  On the equivalence and rewriting of aggregate queries , 2004, Acta Informatica.

[10]  Jörg Flum,et al.  Parameterized Complexity Theory , 2006, Texts in Theoretical Computer Science. An EATCS Series.

[11]  Bruno Courcelle,et al.  Graph Rewriting: An Algebraic and Logic Approach , 1991, Handbook of Theoretical Computer Science, Volume B: Formal Models and Sematics.

[12]  Wolfgang Faber,et al.  Complexity results for answer set programming with bounded predicate arities and implications , 2007, Annals of Mathematics and Artificial Intelligence.

[13]  Leonid Libkin,et al.  Elements Of Finite Model Theory (Texts in Theoretical Computer Science. An Eatcs Series) , 2004 .

[14]  Jörg Flum,et al.  Parameterized Complexity Theory (Texts in Theoretical Computer Science. An EATCS Series) , 2006 .

[15]  Matthias Jarke,et al.  Logic Programming and Databases , 1984, Expert Database Workshop.

[16]  Detlef Seese,et al.  Easy Problems for Tree-Decomposable Graphs , 1991, J. Algorithms.

[17]  Stefan Szeider,et al.  Monadic second order logic on graphs with local cardinality constraints , 2008, TOCL.

[18]  Jerzy Tyszkiewicz,et al.  Mathematical Foundations of Computer Science 2008, 33rd International Symposium, MFCS 2008, Torun, Poland, August 25-29, 2008, Proceedings , 2008, MFCS.

[19]  Stefan Rümmele,et al.  Fast Counting with Bounded Treewidth , 2008, LPAR.

[20]  Martin Grohe,et al.  The complexity of first-order and monadic second-order logic revisited , 2002, Proceedings 17th Annual IEEE Symposium on Logic in Computer Science.

[21]  Guillaume Bagan,et al.  MSO Queries on Tree Decomposable Structures Are Computable with Linear Delay , 2006, CSL.

[22]  Frank Wolter,et al.  Monodic fragments of first-order temporal logics: 2000-2001 A.D , 2001, LPAR.

[23]  Jörg Flum,et al.  Query evaluation via tree-decompositions , 2001, JACM.

[24]  Alex K. Simpson,et al.  Computational Adequacy in an Elementary Topos , 1998, CSL.

[25]  Martin Grohe Descriptive and Parameterized Complexity , 1999, CSL.

[26]  Michael R. Fellows,et al.  Parameterized Complexity , 1998 .

[27]  Thomas Eiter,et al.  Database Theory - Icdt 2005 , 2008 .

[28]  Anthony C. Klug Equivalence of Relational Algebra and Relational Calculus Query Languages Having Aggregate Functions , 1982, JACM.

[29]  Peter J. Stuckey,et al.  Semantics of Logic Programs with Aggregates , 1991, ISLP.