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

* wrap/python/spot.i: Process tgbaalgos/neverclaim.hh.

* wrap/python/cgi/ltl2tgba.in: Display the never claim on demand.
parent 8d8af2e5
2004-04-21 Alexandre Duret-Lutz <adl@gnu.org>
* wrap/python/spot.i: Process tgbaalgos/neverclaim.hh.
* wrap/python/cgi/ltl2tgba.in: Display the never claim on demand.
2004-04-21 Denis Poitrenaud <dp@src.lip6.fr>
* src/ltlvisit/tostring.hh (to_spin_string): New function.
......
......@@ -199,6 +199,7 @@ options = [(
('show_formula_png', 'draw the formula', 0),
('show_automaton_png', 'draw Bchi automaton', 1),
('show_degen_png', 'draw degeneralized Bchi automaton', 0),
('show_never_claim', 'output Spin never claim', 0),
('show_lbtt', 'convert automaton for LBTT', 0),
]), (
'Debugging options', 0, '', [
......@@ -411,13 +412,22 @@ dont_run_dot = print_stats(automaton)
if show_automaton_png:
render_automaton(imgprefix + '-a', automaton, dont_run_dot)
if show_degen_png or show_never_claim:
degen = spot.tgba_tba_proxy(automaton)
else:
degen = 0
if show_degen_png:
print '<H3>Degeneralized automaton</H3>'
degen = spot.tgba_tba_proxy(automaton)
dont_run_dot = print_stats(degen)
render_automaton(imgprefix + '-d', degen, dont_run_dot)
else:
degen = 0
if show_never_claim:
print '<H3>Never claim (for degeneralized automaton)</H3>'
print '<PRE>'
spot.never_claim_reachable(spot.get_cout(), degen)
print '</PRE>'
sys.stdout.flush()
if show_dictionnay:
print '<H3>BDD dictionary</H3>'
......
......@@ -78,6 +78,7 @@
#include "tgbaalgos/dupexp.hh"
#include "tgbaalgos/lbtt.hh"
#include "tgbaalgos/magic.hh"
#include "tgbaalgos/neverclaim.hh"
#include "tgbaalgos/save.hh"
#include "tgbaalgos/stats.hh"
......@@ -141,6 +142,7 @@ using namespace spot;
%include "tgbaalgos/dupexp.hh"
%include "tgbaalgos/lbtt.hh"
%include "tgbaalgos/magic.hh"
%include "tgbaalgos/neverclaim.hh"
%include "tgbaalgos/save.hh"
%include "tgbaalgos/stats.hh"
#undef ltl
......
Markdown is supported
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