* wrap/python/ajax/spot.in: Use the degeneralized automaton if

available while computing the emptiness check.
This commit is contained in:
Alexandre Duret-Lutz 2011-03-04 21:04:38 +01:00
parent de4166f4c9
commit 0792fb741d
2 changed files with 10 additions and 5 deletions

View file

@ -1,3 +1,8 @@
2011-03-04 Alexandre Duret-Lutz <adl@lrde.epita.fr>
* wrap/python/ajax/spot.in: Use the degeneralized automaton if
available while computing the emptiness check.
2011-03-04 Alexandre Duret-Lutz <adl@lrde.epita.fr>
Speedup build_result() called by minimize_dfa().

View file

@ -362,7 +362,7 @@ if output_type == 'r':
n_acc = degen.number_of_acceptance_conditions()
n_max = eci.max_acceptance_conditions()
if (n_acc <= n_max):
ec_a = automaton
ec_a = degen
else:
print ('<div class="ec-error">Cannot run ' + opt
+ ' on automata with more than ' + str(n_max)