Abstract
We present algorithms for the propositional model counting problemĀ #SAT. The algorithms are based on tree-decompositions of graphs associated with the given CNF formula, in particular primal, dual, and incidence graphs. We describe the algorithms in a coherent fashion that admits a direct comparison of their algorithmic advantages. We analyze and discuss several aspects of the algorithms including worst-case time and space requirements and simplicity of implementation. The algorithms are described in sufficient detail for making an implementation reasonably easy.
Research supported by the EPSRC, projectĀ EP/E001394/1.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Aho, A.V., Hopcroft, J.E., Ullman, J.D.: The Design and Analysis of Computer Algorithms chapter 1, Models of computation, pp. 1ā41. Addison-Wesley, Reading (1974)
Aspvall, B., Proskurowski, A., Telle, J.A.: Memory requirements for table computations in partial k-tree algorithms. AlgorithmicaĀ 27(3-4), 382ā394 (2000)
Bacchus, F., Dalmao, S., Pitassi, T.: Algorithms and complexity results for #SAT and Bayesian inference. In: FOCS 2003, pp. 340ā351. IEEE Computer Society Press, Los Alamitos (2003)
Bodlaender, H.L.: A tourist guide through treewidth. Acta CyberneticaĀ 11, 1ā21 (1993)
Bodlaender, H.L.: A linear-time algorithm for finding tree-decompositions of small treewidth. SIAM Journal on ComputingĀ 25(6), 1305ā1317 (1996)
Bodlaender, H.L.: Discovering treewidth. In: VojtĆ”Å”, P., BielikovĆ”, M., Charron-Bost, B., SĆ½kora, O. (eds.) SOFSEM 2005. LNCS, vol.Ā 3381, pp. 1ā16. Springer, Heidelberg (2005)
Cohen, D., Jeavons, P., Gyssens, M.: A unified theory of structural tractability for constraint satisfaction and spread cut decomposition. In: IJCAI 2005, pp. 72ā77. Professional Book Center (2005)
Courcelle, B., Makowsky, J.A., Rotics, U.: Linear time solvable optimization problems on graphs of bounded clique-width. Theory of Computing SystemsĀ 33(2), 125ā150 (2000)
Courcelle, B., Makowsky, J.A., Rotics, U.: On the fixed parameter complexity of graph enumeration problems definable in monadic second-order logic. Discrete Applied MathematicsĀ 108(1-2), 23ā52 (2001)
Downey, R.G., Fellows, M.R.: Parameterized Complexity. Springer, Heidelberg (1999)
Fischer, E., Makowsky, J.A., Ravve, E.R.: Counting truth assignments of formulas of bounded tree-width or clique-width. Discrete Applied Mathematics (in press)
Flum, J., Grohe, M.: Parameterized Complexity Theory. Springer, Heidelberg (2006)
FĆ¼rer, M.: Faster integer multiplication. In: STOC 2007, pp. 57ā66. ACM Press, New York (2007)
Gottlob, G., Leone, N., Scarcello, F.: Hypertree decompositions and tractable queries. Journal of Computer and System SciencesĀ 64(3), 579ā627 (2002)
Gottlob, G., Scarcello, F., Sideri, M.: Fixed-parameter complexity in AI and nonmonotonic reasoning. Artificial IntelligenceĀ 138(1-2), 55ā86 (2002)
Grohe, M., Marx, D.: Constraint solving via fractional edge covers. In: SODA 2006, pp. 289ā298. ACM Press, New York (2006)
Kloks, T.: Treewidth: Computations and Approximations. Springer, Heidelberg (1994)
Knuth, D.E.: The Art of Computer Programming. In: Seminumerical Algorithms, chapter 4.3.3 How fast can we multiply? 3rd edn., vol.Ā 2, pp. 294ā318. Addison-Wesley, Reading (1998)
Kolaitis, P.G., Vardi, M.Y.: Conjunctive-query containment and constraint satisfaction. Journal of Computer and System SciencesĀ 61(2), 302ā332 (2000)
Koster, A.M.C.A., Bodlaender, H.L., van Hoesel, S.P.M.: Treewidth: Computational experiments. Electronic Notes in Discrete Mathematics 8 (2001)
Niedermeier, R.: Invitation to Fixed-Parameter Algorithms. Oxford University Press, Oxford (2006)
Nishimura, N., Ragde, P., Szeider, S.: Solving #SAT using vertex covers. In: Biere, A., Gomes, C.P. (eds.) SAT 2006. LNCS, vol.Ā 4121, pp. 396ā409. Springer, Heidelberg (2006)
Oum, S., Seymour, P.: Approximating clique-width and branch-width. Journal of Combinatorial Theory, Series BĀ 96(4), 514ā528 (2006)
Robertson, N., Seymour, P.D.: Graph minorsĀ X. Obstructions to tree-decomposition. Journal of Combinatorial Theory, Series BĀ 52(2), 153ā190 (1991)
Roth, D.: On the hardness of approximate reasoning. Artificial IntelligenceĀ 82(1-2), 273ā302 (1996)
Samer, M., Szeider, S.: Constraint satisfaction with bounded treewidth revisited. In: Benhamou, F. (ed.) CP 2006. LNCS, vol.Ā 4204, pp. 499ā513. Springer, Heidelberg (2006)
Schƶnhage, A., Strassen, V.: Schnelle Multiplikation ganzer Zahlen. ComputingĀ 7, 281ā292 (1971)
Valiant, L.G.: The complexity of computing the permanent. Theoretical Computer ScienceĀ 8(2), 189ā201 (1979)
Yannakakis, M.: Algorithms for acyclic database schemes. In: VLDB 1981, pp. 81ā94. IEEE Computer Society Press, Los Alamitos (1981)
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
Ā© 2007 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Samer, M., Szeider, S. (2007). Algorithms for Propositional Model Counting. In: Dershowitz, N., Voronkov, A. (eds) Logic for Programming, Artificial Intelligence, and Reasoning. LPAR 2007. Lecture Notes in Computer Science(), vol 4790. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-75560-9_35
Download citation
DOI: https://doi.org/10.1007/978-3-540-75560-9_35
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-75558-6
Online ISBN: 978-3-540-75560-9
eBook Packages: Computer ScienceComputer Science (R0)