genem: improve handling of co-Büchi
* spot/twaalgos/sccinfo.cc, spot/twaalgos/sccinfo.hh: Make sure scc_and_mark_filter does not install a filter if there is nothing to filter. * tests/python/genem.py, spot/twaalgos/genem.cc, python/spot/impl.i: Adjust.
This commit is contained in:
parent
afdc7ddaf8
commit
0623965b43
5 changed files with 20 additions and 13 deletions
|
|
@ -108,9 +108,8 @@ namespace spot
|
|||
}
|
||||
return true;
|
||||
}
|
||||
// FIXME: If there is acc.fin_unit() it, is
|
||||
// probably a good idea to filter right away.
|
||||
scc_info si(aut, scc_info_options::STOP_ON_ACC);
|
||||
scc_info si(scc_and_mark_filter(aut, aut_acc.fin_unit()),
|
||||
scc_info_options::STOP_ON_ACC);
|
||||
|
||||
const int accepting_scc = si.one_accepting_scc();
|
||||
if (accepting_scc >= 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue