genem: fix removal of unsatisfied Fin(x) sets
Fixes #360. * spot/twa/acc.cc, spot/twa/acc.hh (force_inf): New method. * spot/twaalgos/genem.cc: Fix the emptiness check using force_inf. * tests/python/genem.py: Add test case and adjust the python version of the emptiness check.
This commit is contained in:
parent
9f81df2cd4
commit
469d2b4ef4
4 changed files with 88 additions and 3 deletions
|
|
@ -175,7 +175,7 @@ namespace spot
|
|||
<deal_with_disjunct>))
|
||||
return false;
|
||||
// Try to accept when Fin(fo) == false
|
||||
tmp.set(acc.remove({(unsigned) fo}, false));
|
||||
tmp.set(acc.force_inf({(unsigned) fo}));
|
||||
return generic_emptiness_check_for_scc_nocopy
|
||||
<deal_with_disjunct>(si, scc, tocut);
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue