improve alternation removal to match G&O construction

When dealternating the VWAA for GFa, our result had two states that
could not be fused by simulation because of unmatched acceptance mark.
With this change, the result can be simplified.

* spot/twaalgos/alternation.cc: Here.
* tests/core/alternating.test, tests/python/alternation.ipynb: Update
test case.
* NEWS: Mention it.
This commit is contained in:
Alexandre Duret-Lutz 2018-05-30 10:01:52 +02:00
parent 6d9d35c985
commit e87d308eba
4 changed files with 61 additions and 36 deletions

5
NEWS
View file

@ -110,6 +110,11 @@ New in spot 2.5.3.dev (not yet released)
The code was buggy, hard to maintain, and these functions do not
seem to be used.
- spot::remove_alternation() was slightly improved on very-weak
alternating automata: the labeling of the outgoing transitions in
the resulting TGBA makes it more likely that simulation-based
reductions will reduce it.
Python:
- New spot.jupyter package. This currently contains a function for