arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1702.08581cs.LO
收藏

求解Cactus公式上#2SAT的线性时间算法

A Linear Time Algorithm for Solving #2SAT on Cactus Formulas

M. A. López, J. R. Marcial, G. De Ita, H. A. Montes-Venegas, R. Alejo

摘要:

给出了一个O(n+m)时间算法来计算表示Cactus图的两个合取范式公式F的模型数,其中n是F的变量数,m是F的子句数.虽然,它是已知的,这类公式可以计算在多项式时间,我们比较我们的建议算法与两个国家的最先进的实现相同的问题,sharpSAT和countAntom。比较结果表明,我们的算法优于这两个实现,它可以被认为是一个基本的情况下,两个合取范式公式的一般计数。

英文摘要:

An O(n+m)-time algorithm is presented for counting the number of models of a two Conjunctive Normal Form Formula F that represents a Cactus graph, where n is the number of variables and m is the number of clauses of F. Although, it was already known that this class of formulas could be computed in polynomial time, we compare our proposal algorithm with two state of the art implementations for the same problem, sharpSAT and countAntom. The results of the comparison show that our algorithm outperforms both implementations, and it can be considered as a base case for general counting of two Conjunctive Normal Form Formulas.

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

↑