genem: minor simplifications

* tests/python/genem.py: Use SPOT_ON_ACC explicitely.
* spot/twaalgos/genem.cc: Do not keep track of states.  Don't
check that the clauses of the disjuncts are Fin-less: they aren't
(this was discovered while discussing with Jan and Fanda).
This commit is contained in:
Alexandre Duret-Lutz 2019-03-19 17:11:43 +01:00
parent f2f7cb2bc8
commit af67c04a67
2 changed files with 18 additions and 21 deletions

View file

@ -141,7 +141,7 @@ def generic_emptiness2_rec(aut):
# algorithm.
if not aut.acc().uses_fin_acceptance():
return aut.is_empty()
si = spot.scc_info(aut, True)
si = spot.scc_info(aut, spot.scc_info_options_STOP_ON_ACC)
acc_scc = si.one_accepting_scc()
if acc_scc >= 0:
return False