simplify_acc: perform unit-propagation earlier
Closes #405. This shows no difference on the test suite, but that is thanks to the previous patch: without it, an example in automata.ipynb would have an extra edge. * spot/twaalgos/cleanacc.cc (simplify_acceptance): Call unit_propagation() before simplify_complementary_marks_here() and fuse_marks_here(), because that is simpler to perform.
This commit is contained in:
parent
6074202b9b
commit
49188715cd
1 changed files with 1 additions and 1 deletions
|
|
@ -622,9 +622,9 @@ namespace spot
|
|||
if (aut->acc().is_generalized_buchi())
|
||||
break;
|
||||
acc_cond::acc_code old = aut->get_acceptance();
|
||||
aut->set_acceptance(aut->acc().unit_propagation());
|
||||
simplify_complementary_marks_here(aut);
|
||||
fuse_marks_here(aut);
|
||||
aut->set_acceptance(aut->acc().unit_propagation());
|
||||
if (old == aut->get_acceptance())
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue