Solver: Ensure multi conflict rules still get added to learned pool

main
Nils Adermann 4 years ago
parent de3931c742
commit 3f5dde9873

@ -473,6 +473,7 @@ class Solver
// there is only ever exactly one positive decision in a multiconflict rule
foreach ($rule->getLiterals() as $literal) {
if (!isset($seen[abs($literal)]) && $this->decisions->satisfy(-$literal)) {
$this->learnedPool[\count($this->learnedPool) - 1][] = $rule;
$l = $this->decisions->decisionLevel($literal);
if (1 === $l) {
$l1num++;

Loading…
Cancel
Save