* wrap/python/ajax/spot.in: Use the degeneralized automaton if
available while computing the emptiness check.
This commit is contained in:
parent
de4166f4c9
commit
0792fb741d
2 changed files with 10 additions and 5 deletions
|
|
@ -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>
|
2011-03-04 Alexandre Duret-Lutz <adl@lrde.epita.fr>
|
||||||
|
|
||||||
Speedup build_result() called by minimize_dfa().
|
Speedup build_result() called by minimize_dfa().
|
||||||
|
|
|
||||||
|
|
@ -362,7 +362,7 @@ if output_type == 'r':
|
||||||
n_acc = degen.number_of_acceptance_conditions()
|
n_acc = degen.number_of_acceptance_conditions()
|
||||||
n_max = eci.max_acceptance_conditions()
|
n_max = eci.max_acceptance_conditions()
|
||||||
if (n_acc <= n_max):
|
if (n_acc <= n_max):
|
||||||
ec_a = automaton
|
ec_a = degen
|
||||||
else:
|
else:
|
||||||
print ('<div class="ec-error">Cannot run ' + opt
|
print ('<div class="ec-error">Cannot run ' + opt
|
||||||
+ ' on automata with more than ' + str(n_max)
|
+ ' on automata with more than ' + str(n_max)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue