# Counting models for 2SAT and 3SAT formulae

```@article{Dahllf2005CountingMF,
title={Counting models for 2SAT and 3SAT formulae},
author={Vilhelm Dahll{\"o}f and P. Jonsson and Magnus Wahlstr{\"o}m},
journal={Theor. Comput. Sci.},
year={2005},
volume={332},
pages={265-291}
}```
• Published 2005
• Computer Science, Mathematics
• Theor. Comput. Sci.
We here present algorithms for counting models and max-weight models for 2SAT and 3SAT formulae. They use polynomial space and run in O(1.2561n) and O(1.6737n) time, respectively, where n is the number of variables. This is faster than the previously best algorithms for counting nonweighted models for 2SAT and 3SAT, which run in O(1.3247n) and O(1.6894n) time, respectively. In order to prove these time bounds, we develop new measures of formula complexity, allowing us to conveniently analyze… Expand
Improved Bounds for Exact Counting of Satisfiability Solutions ∗
An algorithm is presented for exactly solving (in fact, counting) the number of maximum weight satisfying assignments of a 2-SAT formula. The worst case running time of O(1.2461) for formulas with nExpand
An Algorithm for the SAT Problem for Formulae of Linear Length
The algorithm that decides the satisfiability of a CNF formula where every variable occurs at most k times in time is presented, and its bound is the best upper bound for an exact algorithm for a 3sat formula with up to six occurrences per variable. Expand
A Tighter Bound for Counting Max-Weight Solutions to 2SAT Instances
An algorithm for counting the number of max-weight solutions to a 2SAT formula is given, and the bound on its running time is improved, a refinement of the method of analysis, where the concept of compound measures to multivariate measures is extended, also allowing the optimal parameters for the measure to be found automatically. Expand
Model Counting for 2SAT Based on Graphs by Matrix Operators
• Mathematics, Computer Science
• Eng. Lett.
• 2007
An efficient algorithm is obtained such that the input is a Boolean formula Σ in 2-CNF and the output can be either a charged Boolean formulaΣ′ simpler than Σ or the number of models of Σ. Expand
The computation of #2SAT by a fixed-parameter tractable algorithm
• Computer Science
• LANMR
• 2018
If GF has entwined cycles (set of cycles with common edges), this work has designed a deterministic fixed-parameter algorithm for #2SAT, that is, an algorithm whose time complexity is O(2 · poly(|F |)), where poly( |F |) is a polynomial function on the size of F. Expand
Faster Graph Coloring in Polynomial Space
• Mathematics, Computer Science
• COCOON
• 2017
We present a polynomial-space algorithm that computes the number independent sets of any input graph in time \$O(1.1387^n)\$ for graphs with maximum degree 3 and in time \$O(1.2355^n)\$ for generalExpand
Faster Exponential-time Algorithms for Approximately Counting Independent Sets
• Mathematics, Computer Science
• ArXiv
• 2020
An exponential-time approximation scheme for counting independent sets on graphs with no vertices with degree at least 6 whose neighbours' degrees sum to 27 or more is given, which is faster than the best known algorithm for the exact problem. Expand
Computing #2SAT and #2UNSAT by Binary Patterns
• Mathematics, Computer Science
• MCPR
• 2012
It is shown that, by considering the constrained graph GF of F, if GF represents an acyclic graph then, #UNSAT(F) can be computed in polynomial time. Expand
A Note for Parametric Complexity of #2SAT
• Mathematics, Computer Science
• LA-NMR
• 2011
We present some results about the parametric complexity for counting the number of truth assignments for two Conjunctive Forms (2CF’s), such problem is denoted as #2SAT. It is common to analyze theExpand
Counting independent sets via Divide Measure and Conquer method
• Mathematics, Computer Science
• ArXiv
• 2015
In this paper we give an algorithm for counting the number of all independent sets in a given graph which works in time \$O^*(1.1394^n)\$ for subcubic graphs and in time \$O^*(1.2369^n)\$ for generalExpand