dbranch: fix handling of state-based acceptance

Fixes issue #525.

* spot/twaalgos/dbranch.hh, NEWS: Document.
* spot/twaalgos/dbranch.cc: Detect cases where the acceptance should
be changed from state-based to transition-based.
* tests/python/dbranch.py: Add a test case.
This commit is contained in:
Alexandre Duret-Lutz 2023-02-03 09:35:46 +01:00
parent bdaa31ef21
commit 43b4d80da1
4 changed files with 59 additions and 8 deletions

4
NEWS
View file

@ -32,6 +32,10 @@ New in spot 2.11.3.dev (not yet released)
incorrectly handling of states without successors, causing some
segfaults. (Issue #524.)
- Running delay_branching_here() on state-based automata (this was not
done in Spot so far) may require the output to use transition-based
acceptance. (Issue #525.)
New in spot 2.11.3 (2022-12-09)
Bug fixes: