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:
Alexandre Duret-Lutz 2016-12-24 18:31:19 +01:00
parent 87c9d6f039
commit 9f6924ccfb
16 changed files with 81 additions and 5 deletions

View file

@ -29,6 +29,9 @@ namespace spot
{
if (old->prop_state_acc())
return old;
if (old->is_alternating())
throw std::runtime_error
("sbacc() does not support alternation");
scc_info si(old);