translate: use relabel_bse() to speed translations with a lot of APs
Fixes #268, reported by Yann Thierry-Mieg. * spot/twaalgos/translate.cc, spot/twaalgos/translate.hh: Call relabel_bse() + relabel_here(). * tests/core/format.test: Add a test case. * bin/spot-x.cc, NEWS: Document the change.
This commit is contained in:
parent
0bc1dd4446
commit
05abed6d2f
5 changed files with 73 additions and 3 deletions
|
|
@ -123,6 +123,10 @@ jb) | (c & jb) | (d & jb) | (e & jb) | (f & m) | (f & h) | (f & i) |
|
|||
(r & y) | (r & t) | (r & u) | (r & v) | (r & w) | (fb & x) | (x & z) |
|
||||
(ab & x) | (bb & x) | (cb & x)))'
|
||||
test 3,5 = `ltl2tgba --low --any --stats=%s,%e "$f"`
|
||||
# While we are at it, make sure we can translate this beast. Dispite
|
||||
# the huge number of atomic propositiions, there is only one Boolean
|
||||
# subformula and it is used twice.
|
||||
test 3,4 = `ltl2tgba --stats=%s,%e "$f"`
|
||||
|
||||
cat >foo <<EOF
|
||||
HOA: v1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue