sat: reject alternating inputs

* spot/twaalgos/dtbasat.cc, spot/twaalgos/dtwasat.cc: Here.
This commit is contained in:
Alexandre Duret-Lutz 2017-01-18 08:08:08 +01:00
parent 5939ca4e85
commit d80ca1fb47
2 changed files with 9 additions and 3 deletions

View file

@ -992,6 +992,9 @@ namespace spot
int target_state_number,
bool state_based, bool colored)
{
if (a->is_alternating())
throw std::runtime_error
("dtwa_sat_synthetize() does not support alternating automata");
if (target_state_number == 0)
return nullptr;
trace << "dtwa_sat_synthetize(..., nacc = " << target_acc_number