计算机科学 > 计算机科学中的逻辑
[提交于 2017年2月27日]
标题:A Linear Time Algorithm for Solving #2SAT on Cactus Formulas
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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.
提交历史
来自:J. Raymundo Marcial-Romero[v1] 2017年2月27日 星期一 23:44:11 UTC