twaalgos: add many guards against alternation
* spot/twa/twagraph.hh, spot/twaalgos/are_isomorphic.cc, spot/twaalgos/canonicalize.cc, spot/twaalgos/couvreurnew.cc, spot/twaalgos/cycles.cc, spot/twaalgos/degen.cc, spot/twaalgos/determinize.cc, spot/twaalgos/isunamb.cc, spot/twaalgos/isweakscc.cc, spot/twaalgos/mask.hh, spot/twaalgos/minimize.cc, spot/twaalgos/product.cc, spot/twaalgos/randomize.cc, spot/twaalgos/sbacc.cc, spot/twaalgos/sccfilter.cc, spot/twaalgos/simulation.cc: Throw a runtime_error if the input is alternating.
This commit is contained in:
parent
87c9d6f039
commit
9f6924ccfb
16 changed files with 81 additions and 5 deletions
|
|
@ -197,6 +197,9 @@ namespace spot
|
|||
if (!a->acc().is_generalized_buchi())
|
||||
throw std::runtime_error
|
||||
("degeneralize() can only works with generalized Büchi acceptance");
|
||||
if (a->is_alternating())
|
||||
throw std::runtime_error
|
||||
("degeneralize() does not support alternation");
|
||||
|
||||
bool use_scc = use_lvl_cache || use_cust_acc_orders || use_z_lvl;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue