Monadic Second Order Logic on Graphs with Local Cardinality Constraints

We show that all problems of the following form can be solved in polynomial time for graphs of bounded treewidth: Given a graph Gand for each vertex vof Ga set i¾?(v) of non-negative integers. Is there a set Sof vertices or edges of Gsuch that Ssatisfies a fixed property expressible in monadic second order logic, and for each vertex vof Gthe number of vertices/edges in Sadjacent/incident with vbelongs to the set i¾?(v)? A wide range of problems can be formulated in this way, for example Lovasz's General Factor Problem.

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

[2]  L. Lovász The factorization of graphs. II , 1972 .

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

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

[5]  Donald J. ROSE,et al.  On simple characterizations of k-trees , 1974, Discret. Math..

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

[7]  Ko-Wei Lih,et al.  Equitable Coloring of Graphs , 1998 .

[8]  James W. Thatcher,et al.  Generalized finite automata theory with an application to a decision problem of second-order logic , 1968, Mathematical systems theory.

[9]  Hans L. Bodlaender,et al.  A Partial k-Arboretum of Graphs with Bounded Treewidth , 1998, Theor. Comput. Sci..

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

[11]  Hans L. Bodlaender,et al.  A linear time algorithm for finding tree-decompositions of small treewidth , 1993, STOC.

[12]  Marko Samer,et al.  Tractable cases of the extended global cardinality constraint , 2009, Constraints.

[13]  Gérard Cornuéjols,et al.  General factors of graphs , 1988, J. Comb. Theory, Ser. B.

[14]  Rolf Niedermeier,et al.  Invitation to Fixed-Parameter Algorithms , 2006 .

[15]  Alexandr V. Kostochka,et al.  On Equitable Coloring of d-Degenerate Graphs , 2005, SIAM J. Discret. Math..

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

[17]  Fedor V. Fomin,et al.  Equitable Colorings of Bounded Treewidth Graphs , 2004, MFCS.

[18]  R. Baker Factorization of graphs , 1975 .