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
0c3d4fef
Commit
0c3d4fef
authored
Apr 21, 2004
by
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
Changes
3
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
0c3d4fef
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.
...
...
wrap/python/cgi/ltl2tgba.in
View file @
0c3d4fef
...
...
@@ -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>'
...
...
wrap/python/spot.i
View file @
0c3d4fef
...
...
@@ -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
...
...
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