remove_alternation: option to return nullptr if too many sets needed

* spot/twaalgos/alternation.hh, spot/twaalgos/alternation.cc: Add the
new options.
* spot/twaalgos/complement.cc, spot/twaalgos/minimize.cc: Use it.
* tests/core/optba.test: Add a test case from Yann.
* NEWS: Mention those changes.
This commit is contained in:
Alexandre Duret-Lutz 2024-01-24 16:11:25 +01:00
parent 9957aa1a3a
commit 690e5a213d
6 changed files with 857 additions and 7 deletions

7
NEWS
View file

@ -126,6 +126,10 @@ New in spot 2.11.6.dev (not yet released)
weak automata as input, but the documentation did not reflect
this.
- spot::remove_alternation() has a new argument to decide whether it
should raise an exception of return nullptr if it requires more
acceptance sets than supported.
Python:
- The spot.automata() and spot.automaton() functions now accept a
@ -200,6 +204,9 @@ New in spot 2.11.6.dev (not yet released)
purge_dead_state(), did not update the highlight-edges property.
(Issue #555.)
- spot::minimize_obligation will skip attempts to complement very
weak automata when those would require too many acceptance sets.
New in spot 2.11.6 (2023-08-01)
Bug fixes: