remfin: call remove_alternation if needed
* spot/twaalgos/remfin.cc: Here. * tests/core/alternating.test: Add a test case.
This commit is contained in:
parent
071d819c49
commit
f5b261d80e
2 changed files with 49 additions and 0 deletions
|
|
@ -24,6 +24,7 @@
|
|||
#include <spot/twaalgos/totgba.hh>
|
||||
#include <spot/twaalgos/isdet.hh>
|
||||
#include <spot/twaalgos/mask.hh>
|
||||
#include <spot/twaalgos/alternation.hh>
|
||||
|
||||
//#define TRACE
|
||||
#ifdef TRACE
|
||||
|
|
@ -494,6 +495,9 @@ namespace spot
|
|||
if (aut->prop_weak().is_true())
|
||||
return remove_fin_weak(aut);
|
||||
|
||||
if (aut->is_alternating())
|
||||
return remove_fin(remove_alternation(aut));
|
||||
|
||||
if (auto maybe = streett_to_generalized_buchi_maybe(aut))
|
||||
return maybe;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue