streett_to_generalized_buchi() now works on Streett-like
* NEWS: Mention the modification. * spot/twaalgos/remfin.cc: Adapt to avoid infinite recursion. * spot/twaalgos/totgba.cc: Work on Streett-like. * tests/Makefile.am, tests/python/streett_totgba.py: Tests the modification. * tests/core/remfin.test: Fix one test case that is now handled by the modification.
This commit is contained in:
parent
570c433122
commit
7b5b8f34f0
6 changed files with 162 additions and 36 deletions
|
|
@ -444,7 +444,9 @@ namespace spot
|
|||
|
||||
twa_graph_ptr street_strategy(const const_twa_graph_ptr& aut)
|
||||
{
|
||||
return streett_to_generalized_buchi_maybe(aut);
|
||||
return (aut->get_acceptance().used_inf_fin_sets().first)
|
||||
? streett_to_generalized_buchi_maybe(aut)
|
||||
: nullptr;
|
||||
}
|
||||
|
||||
twa_graph_ptr rabin_strategy(const const_twa_graph_ptr& aut)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue