Courcelle's theorem
Courcelle's theorem states that every graph property expressible in monadic second-order logic can be decided in linear time on graphs of bounded treewidth, when the formula and width are fixed.
Courcelle's theorem states that every graph property expressible in monadic second-order logic can be decided in linear time on graphs of bounded treewidth, when the formula and width are fixed.