simulation: try pulling marks instead of pushing them for sbacc input

Suggested by František Blahoudek.

* spot/twaalgos/simulation.cc: When doing forward simulation with
state-based acceptance as input but transition-based acceptance as
output, pull acceptance marks on incoming edges instead of pushing
them to outgoing edges.
* tests/core/dra2dba.test, tests/core/exclusive-tgba.test,
tests/core/ltlcrossce.test, tests/core/satmin3.test,
tests/core/sim3.test, tests/python/satmin.ipynb: Adjust test cases.
* NEWS: Mention the change.
This commit is contained in:
Alexandre Duret-Lutz 2019-02-26 18:13:42 +01:00
parent e191a0341b
commit 8959eabad6
8 changed files with 588 additions and 474 deletions

7
NEWS
View file

@ -19,6 +19,13 @@ New in spot 2.7.1.dev (not yet released)
- twa::accepting_run() now works on automata using Fin in
their acceptance condition.
- simulation-based reductions have learned a trick that sometimes
improve transition-based output when the input is state-based.
(The automaton output by 'ltl2tgba -B GFa | autfilt --small' now
has 1 state instead of 2 in previous versions. Similarly,
'ltldo ltl2dstar -f 'GFa -> GFb' | autfilt --small' produces 1
state instead of 4.)
New in spot 2.7.1 (2019-02-14)
Build