Commit 0792fb74 authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

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

available while computing the emptiness check.
parent de4166f4
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().
......
......@@ -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)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment