计算机科学 > 计算复杂性
[提交于 2007年4月27日 (v1),最后修订于 2008年6月19日 (此版本, v2)]
标题:The Complexity of Weighted Boolean #CSP
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:This paper gives a dichotomy theorem for the complexity of computing the partition function of an instance of a weighted Boolean constraint satisfaction problem. The problem is parameterised by a finite set F of non-negative functions that may be used to assign weights to the configurations (feasible solutions) of a problem instance. Classical constraint satisfaction problems correspond to the special case of 0,1-valued functions. We show that the partition function, i.e. the sum of the weights of all configurations, can be computed in polynomial time if either (1) every function in F is of ``product type'', or (2) every function in F is ``pure affine''. For every other fixed set F, computing the partition function is FP^{#P}-complete.