Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Spot
Spot
Commits
28288e04
Commit
28288e04
authored
Apr 22, 2004
by
Alexandre Duret-Lutz
Browse files
* wrap/python/cgi/ltl2tgba.in: Print degeneralized statistics
when show_never_claim. Change the title to LTL-to-TGBA.
parent
d07e5498
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
28288e04
2004-04-22 Alexandre Duret-Lutz <adl@src.lip6.fr>
* wrap/python/cgi/ltl2tgba.in: Print degeneralized statistics
when show_never_claim. Change the title to LTL-to-TGBA.
2004-04-21 Alexandre Duret-Lutz <adl@src.lip6.fr>
* wrap/python/cgi/ltl2tgba.in (print_footer): Make ltl2tgba.py's
...
...
wrap/python/cgi/ltl2tgba.in
View file @
28288e04
...
...
@@ -184,12 +184,12 @@ def render_bdd(basename, dictionary, bdd):
print
"""
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML lang="en"><HEAD>
<TITLE>Spot's on-line LTL-to-
Buchi
translator</TITLE>
<TITLE>Spot's on-line LTL-to-
TGBA
translator</TITLE>
<META NAME="keywords" CONTENT="Spot,LTL,automata,Büchi,translation,TGBA">
%s</HEAD>
<BODY>
<H1><a href="http://spot.lip6.fr/">Spot</a>'s on-line
LTL-to-
Büchi
translator</H1>"""
%
extra_header
LTL-to-
TGBA
translator</H1>"""
%
extra_header
formula
=
form
.
getfirst
(
'formula'
,
''
)
...
...
@@ -423,15 +423,14 @@ if show_automaton_png:
render_automaton
(
imgprefix
+
'-a'
,
automaton
,
dont_run_dot
)
if
show_degen_png
or
show_never_claim
:
print
'<H3>Degeneralized automaton</H3>'
degen
=
spot
.
tgba_tba_proxy
(
automaton
)
dont_run_dot
=
print_stats
(
degen
)
if
show_degen_png
:
render_automaton
(
imgprefix
+
'-d'
,
degen
,
dont_run_dot
)
else
:
degen
=
0
if
show_degen_png
:
print
'<H3>Degeneralized automaton</H3>'
dont_run_dot
=
print_stats
(
degen
)
render_automaton
(
imgprefix
+
'-d'
,
degen
,
dont_run_dot
)
if
show_never_claim
:
print
'<H3>Never claim (for degeneralized automaton)</H3>'
print
'<PRE>'
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment