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

ajax: fix GTA construction

* python/ajax/spotcgi.in: Here.
* NEWS: Mention it.
parent 8dee359e
...@@ -88,6 +88,8 @@ New in spot 2.0.2a (not yet released) ...@@ -88,6 +88,8 @@ New in spot 2.0.2a (not yet released)
choice of the level is free, it used the last level used. This choice of the level is free, it used the last level used. This
caused some posterior simulation-based reductions to be less caused some posterior simulation-based reductions to be less
efficient at reducing automata (on the average). efficient at reducing automata (on the average).
* The generalized testing automata displayed by the on-line
translator were incorrect (those output by ltl2tgta were OK).
New in spot 2.0.2 (2016-06-17) New in spot 2.0.2 (2016-06-17)
......
...@@ -695,10 +695,8 @@ elif buchi_type == 'i': ...@@ -695,10 +695,8 @@ elif buchi_type == 'i':
degen = True degen = True
neverclaim = True neverclaim = True
if output_type == 't': if output_type == 't' and ta_type == 't':
ta_type = form.getfirst('tf', 't') degen = True
if ta_type == 't':
degen = True
if prune_scc: if prune_scc:
# Do not suppress all useless acceptance conditions if # Do not suppress all useless acceptance conditions if
...@@ -769,8 +767,8 @@ if output_type == 't': ...@@ -769,8 +767,8 @@ if output_type == 't':
if bisimulation: if bisimulation:
tautomaton = spot.minimize_tgta(tautomaton) tautomaton = spot.minimize_tgta(tautomaton)
else: else:
tautomaton = spot.tgba_to_ta(degen, propset, tautomaton = spot.tgba_to_ta(degen, propset, ta_type == 't',
True, True, singlepass, livelock) True, singlepass, livelock)
if bisimulation: if bisimulation:
tautomaton = spot.minimize_ta(tautomaton) tautomaton = spot.minimize_ta(tautomaton)
dont_run_dot = print_stats(tautomaton, ta = True) dont_run_dot = print_stats(tautomaton, ta = True)
......
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