ltl2tgba: clear simplification cache between translations
The cache used in formula simplification will keep atomic propositions defined between several translations, and may impact variable order. Reported by Maximilien Colange. * spot/tl/simplify.hh, spot/tl/simplify.cc, spot/twaalgos/translate.cc, spot/twaalgos/translate.hh (clear_cache): New method. * bin/ltl2tgba.cc, bin/ltl2tgta.cc: Call it. * spot/twaalgos/stats.cc: Do not keep a point to the formula after printing statistics. * tests/core/ltl2tgba.test: Add a test case. * tests/core/readsave.test: Adjust one formula. * NEWS: Mention the issue.
This commit is contained in:
parent
8e19d3f47e
commit
f07fbbae79
10 changed files with 60 additions and 14 deletions
4
NEWS
4
NEWS
|
|
@ -100,6 +100,10 @@ New in spot 2.3.3.dev (not yet released)
|
|||
when q is a subformula that is both eventual and universal
|
||||
was documented but not applied in some forgotten cases.
|
||||
|
||||
- Because of some caching inside of ltl2tgba, translating multiple
|
||||
formula in single ltl2tgba run could produce automata different
|
||||
from those produced by individual runs.
|
||||
|
||||
Backward-incompatible changes:
|
||||
|
||||
- spot::acc_cond::mark_t::operator bool() has been marked as
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue