Counting H-colorings of partial k-trees

被引:39
作者
Díaz, J [1 ]
Serna, M [1 ]
Thilikos, DM [1 ]
机构
[1] Univ Politecn Cataluna, Dept Llenguatges & Sistemes Informat, ES-08034 Barcelona, Spain
关键词
graph homomorphism; counting problems; treewidth;
D O I
10.1016/S0304-3975(02)00017-8
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
The problem of counting all H-colorings of a graph G with n vertices is considered. While the problem is, in general, #P-complete, we give linear time algorithms that solve the main variants of this problem when the input graph G is a k-tree or, in the case where G is directed, when the underlying graph of G is a k-tree. Our algorithms remain polynomial even in the case where k = O(log n) or in the case where the size of H is O(n). Our results are easy to implement and imply the existence of polynomial time algorithms for a series of problems on partial k-trees such as core checking and chromatic polynomial computation. (C) 2002 Elsevier Science B.V. All rights reserved.
引用
收藏
页码:291 / 309
页数:19
相关论文
共 40 条
[1]  
Abrahamson Karl R., 1993, GRAPH STRUCTURE THEO, V147, P539
[2]   An algorithm for the Tutte polynomials of graphs of bounded treewidth [J].
Andrzejak, A .
DISCRETE MATHEMATICS, 1998, 190 (1-3) :39-54
[3]  
[Anonymous], 1979, Computers and Intractablity: A Guide to the Theoryof NP-Completeness
[4]  
ARNBORG S, 1985, BIT, V25, P2, DOI 10.1007/BF01934985
[5]   EASY PROBLEMS FOR TREE-DECOMPOSABLE GRAPHS [J].
ARNBORG, S ;
LAGERGREN, J ;
SEESE, D .
JOURNAL OF ALGORITHMS, 1991, 12 (02) :308-340
[6]   COMPLEXITY OF FINDING EMBEDDINGS IN A K-TREE [J].
ARNBORG, S ;
CORNEIL, DG ;
PROSKUROWSKI, A .
SIAM JOURNAL ON ALGEBRAIC AND DISCRETE METHODS, 1987, 8 (02) :277-284
[7]  
Bodlaender H. L., 1997, Mathematical Foundations of Computer Science 1997. 22nd International Symposium, MFCS'97 Proceedings, P19, DOI 10.1007/BFb0029946
[8]   POLYNOMIAL ALGORITHMS FOR GRAPH ISOMORPHISM AND CHROMATIC INDEX ON PARTIAL K-TREES [J].
BODLAENDER, HL .
JOURNAL OF ALGORITHMS, 1990, 11 (04) :631-643
[9]   A linear-time ie algorithm for finding three-decompositions of small treewidth [J].
Bodlaender, HL .
SIAM JOURNAL ON COMPUTING, 1996, 25 (06) :1305-1317
[10]   Efficient and constructive algorithms for the pathwidth and treewidth of graphs [J].
Bodlaender, HL ;
Kloks, T .
JOURNAL OF ALGORITHMS-COGNITION INFORMATICS AND LOGIC, 1996, 21 (02) :358-402