Abstract
We present an O(1.3247n) algorithm for counting the number of satisfying assignments for instances of 2-SAT and an O(1.6894n) algorithm for instances of 3-SAT. This is an improvement compared to the previously best known algorithms running in O(1.381n) and O(1.739n) time, respectively.
The research is supported by CUGS — National Graduate School in Computer Science, Sweden.
The research is partially supported by the Swedish Research Council (VR) under grant 221-2000-361.
The research is supported by CUGS — National Graduate School in Computer Science, Sweden.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
R. J. Bayardo, Jr. and J. Pehoushek. Counting models using connected components. In Proceedings of the Seventeenth National Conference on Artificial Intelligence (AAAI-2000), pages 157–162. AAAI Press, 2000.
E. Birnbaum and E. L. Lozinskii. The good old Davis-Putnam procedure helps counting models. Journal of Artificial Intelligence Research, 10:457–477, 1999.
V. Dahllöf and P. Jonsson. An algorithm for counting maximum weighted independent sets and its applications. In Proceedings of the Thirteenth Annual ACM-SIAM Symposium on Discrete Algorithms (SODA-2002), pages 292–298, 2002.
O. Dubois. Counting the number of solutions for instances of satisfiability. Theoretical Computer Science, 81(1):49–64, 1991.
L. Goldberg and M. Jerrum. Counting unlabelled subtrees of a tree is #P-complete. LMS Journal of Computation and Mathematics, 3:117–124, 2000.
R. L. Graham, D. E. Knuth, and O. Patashnik. Concrete Mathematics. Addison-Wesley, Reading, MA, USA, second edition, 1994.
C. S. Greenhill. The complexity of counting colourings and independent sets in sparse graphs and hypergraphs. Computational Complexity, 9(1):52–72, 2000.
H. B. Hunt III, M. V. Marathe, V. Radhakrishnan, and R. E. Stearns. The complex-ity of planar counting problems. SIAM Journal on Computing, 27(4):1142–1167, 1998.
D. Kozen. The design and analysis of algorithms. Springer-Verlag, 1992.
M. L. Littman, T. Pitassi, and R. Impagliazzo. On the complexity of counting satisfying assignments. Unpublished manuscript.
D. Roth. On the hardness of approximate reasoning. Artificial Intelligence, 82(1–2):273–302, 1996.
S. P. Vadhan. The complexity of counting in sparse, regular, and planar graphs. SIAM Journal on Computing, 31(2):398–427, 2001.
L. Valiant. The complexity of enumeration and reliability problems. SIAM Journal on Computing, 8(3):410–421, 1979.
W. Zhang. Number of models and satisfiability of sets of clauses. Theoretical Computer Science, 155(1):277–288, 1996.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2002 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Dahllöf, V., Jonsson, P., Wahlström, M. (2002). Counting Satisfying Assignments in 2-SAT and 3-SAT. In: Ibarra, O.H., Zhang, L. (eds) Computing and Combinatorics. COCOON 2002. Lecture Notes in Computer Science, vol 2387. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-45655-4_57
Download citation
DOI: https://doi.org/10.1007/3-540-45655-4_57
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-43996-7
Online ISBN: 978-3-540-45655-1
eBook Packages: Springer Book Archive