arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 0906.1849cs.DSmath.CO
收藏

3- SAT的一个随机算法

A Randomized Algorithm for 3-SAT

Subhas Kumar Ghosh, Janardan Misra

摘要:

在这项工作中,我们提出并分析了一个简单的随机算法,以找到一个可满足的分配的布尔公式在合取范式(CNF)在每个子句中有最多3个文字。给定n个变量的k-CNF公式phi,{0,1}^n中的alpha满足phi,如果在赋值alpha下恰好满足该子句的一个文字,则phi子句是关键的。Paturi et.等人(Chicago Journal of Theoretical计算机科学1999)提出了一种用于k-SAT的简单随机算法(PPZ),其成功概率随着关键子句的数量(相对于输入公式的固定可满足解)而增加。在这里,我们首先描述另一个简单的随机算法DEL的执行更好,如果关键条款的数量较少(相对于一个固定的可满足的解决方案的输入公式)。随后,我们结合这两个简单的算法,使得组合算法的成功概率是PPZ和DEL在每个输入实例上的成功概率的最大值。我们发现,当出现在一个或多个关键条款中的一个或多个关键条款中的每个变量的条款的平均数量在1和1.9317之间时,组合算法的性能优于PPZ算法。

英文摘要:

In this work we propose and analyze a simple randomized algorithm to find a satisfiable assignment for a Boolean formula in conjunctive normal form (CNF) having at most 3 literals in every clause. Given a k-CNF formula phi on n variables, and alpha in{0,1}^n that satisfies phi, a clause of phi is critical if exactly one literal of that clause is satisfied under assignment alpha. Paturi et. al. (Chicago Journal of Theoretical Computer Science 1999) proposed a simple randomized algorithm (PPZ) for k-SAT for which success probability increases with the number of critical clauses (with respect to a fixed satisfiable solution of the input formula). Here, we first describe another simple randomized algorithm DEL which performs better if the number of critical clauses are less (with respect to a fixed satisfiable solution of the input formula). Subsequently, we combine these two simple algorithms such that the success probability of the combined algorithm is maximum of the success probabilities of PPZ and DEL on every input instance. We show that when the average number of clauses per variable that appear as unique true literal in one or more critical clauses in phi is between 1 and 1.9317, combined algorithm performs better than the PPZ algorithm.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑