Closed nianzelee closed 3 years ago
This issue should be fixed by commit 376aad4.
This issue should be fixed by commit 376aad4.
The fix is not complete. The code snippet below should be invoked for both the Qesto-like and for-all selection solvers. https://github.com/NTU-ALComLab/ssatABC/blob/455a7910bb26e1399897a7f2d7b56ad60af26030/src/ssat/core/SsatSolver.cc#L276-L286
The bug should be fixed by commit 531c888.
In ER-SSAT, if a random variable is a unit clause, the satisfying probability should be multiplied by the variable's probability. This multiplier is pre-computed in the parsing phase and used in the solving phase.
However, it might be wrongly computed when unit clauses of existential variables are present. In the following test case, the multiplier is wrong under unit assumptions 1)
1 0
, 2)1 0
and3 0
.