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
58d6b791
Commit
58d6b791
authored
Jan 25, 2010
by
Damien Lefortier
Browse files
* wrap/python/cgi/ltl2tgba.in, wrap/python/spot.i: Add a new
translation algorithm: Tauriainen/TAA.
parent
d9b8fcdd
Changes
3
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
58d6b791
2010-01-25 Damien Lefortier <dam@lrde.epita.fr>
* wrap/python/cgi/ltl2tgba.in, wrap/python/spot.i: Add a new
translation algorithm: Tauriainen/TAA.
2010-01-25 Damien Lefortier <dam@lrde.epita.fr>
* wrap/python/cgi/ltl2tgba.in: Use the uuid Python module instead
...
...
wrap/python/cgi/ltl2tgba.in
View file @
58d6b791
...
...
@@ -197,6 +197,7 @@ formula = form.getfirst('formula', '')
color_fm
=
"#DFC6F8"
color_lacim
=
"#F8C6DF"
color_taa
=
"#D8C6FF"
options_common
=
[
(
'show_formula_png'
,
'draw the formula'
,
0
),
...
...
@@ -231,11 +232,16 @@ options_trans_lacim = [
(
'show_acceptance_png'
,
'draw the acceptance relation'
,
0
),
]
options_trans_taa
=
[
(
'refined_rules'
,
'refined rules'
,
1
)
]
default_translator
=
'trans_fm'
;
translators
=
[
(
'trans_fm'
,
'Couvreur/FM'
,
color_fm
),
(
'trans_lacim'
,
'Couvreur/LaCIM'
,
color_lacim
),
(
'trans_taa'
,
'Tauriainen/TAA'
,
color_taa
),
]
options_accepting_run
=
[
...
...
@@ -495,6 +501,8 @@ elif trans_fm:
automaton
=
spot
.
ltl_to_tgba_fm
(
f
,
dict
,
exprop
,
symb_merge
,
branching_postponement
,
fair_loop_approx
)
elif
trans_taa
:
automaton
=
spot
.
ltl_to_taa
(
f
,
dict
,
refined_rules
)
print
'done.</p>'
sys
.
stdout
.
flush
()
...
...
wrap/python/spot.i
View file @
58d6b791
...
...
@@ -69,6 +69,7 @@
#
include
"tgba/succiter.hh"
#
include
"tgba/tgba.hh"
#
include
"tgba/statebdd.hh"
#
include
"tgba/taatgba.hh"
#
include
"tgba/tgbabddcoredata.hh"
#
include
"tgba/succiterconcrete.hh"
#
include
"tgba/tgbabddconcrete.hh"
...
...
@@ -78,6 +79,7 @@
#
include
"tgbaalgos/ltl2tgba_lacim.hh"
#
include
"tgbaalgos/ltl2tgba_fm.hh"
#
include
"tgbaalgos/ltl2taa.hh"
#
include
"tgbaalgos/dottydec.hh"
#
include
"tgbaalgos/dotty.hh"
#
include
"tgbaalgos/dupexp.hh"
...
...
@@ -135,6 +137,7 @@ using namespace spot;
%
feature
(
"new"
)
spot
::
ltl_to_tgba_lacim
;
%
feature
(
"new"
)
spot
::
ltl_to_tgba_fm
;
%
feature
(
"new"
)
spot
::
ltl_to_taa
;
%
feature
(
"new"
)
spot
::
tgba
::
get_init_state
;
%
feature
(
"new"
)
spot
::
tgba
::
succ_iter
;
%
feature
(
"new"
)
spot
::
tgba_succ_iterator
::
current_state
;
...
...
@@ -156,6 +159,7 @@ using namespace spot;
%
include
"tgba/succiter.hh"
%
include
"tgba/tgba.hh"
%
include
"tgba/statebdd.hh"
%
include
"tgba/taatgba.hh"
%
include
"tgba/tgbabddcoredata.hh"
%
include
"tgba/succiterconcrete.hh"
%
include
"tgba/tgbabddconcrete.hh"
...
...
@@ -165,6 +169,7 @@ using namespace spot;
%
include
"tgbaalgos/ltl2tgba_lacim.hh"
%
include
"tgbaalgos/ltl2tgba_fm.hh"
%
include
"tgbaalgos/ltl2taa.hh"
%
include
"tgbaalgos/dottydec.hh"
%
include
"tgbaalgos/dotty.hh"
%
include
"tgbaalgos/dupexp.hh"
...
...
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