Counting models for 2SAT and 3SAT formulae

被引:47
作者
Dahllöf, V [1 ]
Jonsson, P [1 ]
Wahström, M [1 ]
机构
[1] Linkoping Univ, Dept Comp & Informat Sci, SE-58183 Linkoping, Sweden
关键词
counting models; satisfiability; exponential-time algorithms; exact algorithms; upper bounds;
D O I
10.1016/j.tcs.2004.10.037
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
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.2561(n)) and O(1.6737(n)) 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.3247(n)) and O(1.6894(n)) time, respectively. In order to prove these time bounds, we develop new measures of formula complexity, allowing us to conveniently analyze the effects of certain factors with a large impact on the total running time. We also provide an algorithm for the restricted case of separable 2SAT formulae, with fast running times for well-studied input classes. For all three algorithms we present interesting applications, such as computing the permanent of sparse 0/1 matrices. (c) 2004 Elsevier B.V. All rights reserved.
引用
收藏
页码:265 / 291
页数:27
相关论文
共 21 条
  • [1] Linear algorithms for partitioning embedded graphs of bounded genus
    Aleksandrov, L
    Djidjev, H
    [J]. SIAM JOURNAL ON DISCRETE MATHEMATICS, 1996, 9 (01) : 129 - 150
  • [2] ALON N, 1990, PROCEEDINGS OF THE TWENTY SECOND ANNUAL ACM SYMPOSIUM ON THEORY OF COMPUTING, P293, DOI 10.1145/100216.100254
  • [3] Angelsmark O, 2003, LECT NOTES COMPUT SC, V2833, P81
  • [4] Bayardo RJ, 2000, SEVENTEENTH NATIONAL CONFERENCE ON ARTIFICIAL INTELLIGENCE (AAAI-2001) / TWELFTH INNOVATIVE APPLICATIONS OF ARTIFICIAL INTELLIGENCE CONFERENCE (IAAI-2000), P157
  • [5] A partial k-arboretum of graphs with bounded treewidth
    Bodlaender, HL
    [J]. THEORETICAL COMPUTER SCIENCE, 1998, 209 (1-2) : 1 - 45
  • [6] Cormen T. H., 1990, INTRO ALGORITHMS
  • [7] Dahllöf V, 2002, SIAM PROC S, P292
  • [8] A COMPUTING PROCEDURE FOR QUANTIFICATION THEORY
    DAVIS, M
    PUTNAM, H
    [J]. JOURNAL OF THE ACM, 1960, 7 (03) : 201 - 215
  • [9] Counting H-colorings of partial k-trees
    Díaz, J
    Serna, M
    Thilikos, DM
    [J]. THEORETICAL COMPUTER SCIENCE, 2002, 281 (1-2) : 291 - 309
  • [10] COUNTING THE NUMBER OF SOLUTIONS FOR INSTANCES OF SATISFIABILITY
    DUBOIS, O
    [J]. THEORETICAL COMPUTER SCIENCE, 1991, 81 (01) : 49 - 64