The good old Davis-Putnam procedure helps counting models

被引:72
作者
Birnbaum, E [1 ]
Lozinskii, EL [1 ]
机构
[1] Hebrew Univ Jerusalem, Inst Comp Sci, IL-91904 Jerusalem, Israel
关键词
D O I
10.1613/jair.601
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
As was shown recently, many important AI problems require counting the number of models of propositional formulas. The problem of counting models of such formulas is, according to present knowledge, computationally intractable in a worst case. Based on the Davis-Putnam procedure, we present an algorithm, CDP, that computes the exact number of models of a propositional CNF or DNF formula F. Let m and n be the number of clauses and variables of F, respectively, and let p denote the probability that a literal l of F occurs in a clause C of F, then the average running time of CDP is shown to be O(m(d)n), where d = inverted right perpendicular -1/log(2)(1-p)inverted left perpendicular. The practical performance of CDP has been estimated in a series of experiments on a wide variety of CNF formulas.
引用
收藏
页码:457 / 477
页数:21
相关论文
共 16 条
[1]   A COMPUTING PROCEDURE FOR QUANTIFICATION THEORY [J].
DAVIS, M ;
PUTNAM, H .
JOURNAL OF THE ACM, 1960, 7 (03) :201-215
[2]   COUNTING THE NUMBER OF SOLUTIONS FOR INSTANCES OF SATISFIABILITY [J].
DUBOIS, O .
THEORETICAL COMPUTER SCIENCE, 1991, 81 (01) :49-64
[3]   PROBABILISTIC ANALYSIS OF THE DAVIS PUTNAM PROCEDURE FOR SOLVING THE SATISFIABILITY PROBLEM [J].
FRANCO, J ;
PAULL, M .
DISCRETE APPLIED MATHEMATICS, 1983, 5 (01) :77-87
[4]   AVERAGE TIME ANALYSES OF SIMPLIFIED DAVIS-PUTNAM PROCEDURES [J].
GOLDBERG, A ;
PURDOM, P ;
BROWN, C .
INFORMATION PROCESSING LETTERS, 1982, 15 (02) :72-75
[5]  
GOLDBERG A, 1979, P 4 WORKSH AUT DED
[6]   Random Worlds and Maximum Entropy [J].
Grove, Adam J. ;
Halpern, Joseph Y. ;
Koller, Daphne .
JOURNAL OF ARTIFICIAL INTELLIGENCE RESEARCH, 1994, 2 :33-88
[7]   CNF SATISFIABILITY TEST BY COUNTING AND POLYNOMIAL AVERAGE TIME [J].
IWAMA, K .
SIAM JOURNAL ON COMPUTING, 1989, 18 (02) :385-391
[8]   APPROXIMATE INCLUSION-EXCLUSION [J].
LINIAL, N ;
NISAN, N .
COMBINATORICA, 1990, 10 (04) :349-365
[9]   IS THERE AN ALTERNATIVE TO PARSIMONIOUS SEMANTICS [J].
LOZINSKII, EL .
JOURNAL OF EXPERIMENTAL & THEORETICAL ARTIFICIAL INTELLIGENCE, 1995, 7 (04) :361-378
[10]   COUNTING PROPOSITIONAL MODELS [J].
LOZINSKII, EL .
INFORMATION PROCESSING LETTERS, 1992, 41 (06) :327-332