1
0
Fork 0

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

pull/8999/head
Nils Adermann 2020-06-26 22:04:17 +02:00
parent de3931c742
commit 3f5dde9873
1 changed files with 1 additions and 0 deletions

View File

@ -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++;