determinize: don't emit colors for temporary braces

Related to issue #298.

* spot/twaalgos/determinize.cc: Recognize braces that are temporary
to avoid emitting colors when they become empty.
* tests/python/298.py: New file, showing a reduction of colors.
* tests/Makefile.am: Add it.
* tests/core/ltlsynt.test: Adjust expected output (now smaller).
* tests/core/genltl.test: Adjust one expected output (now larger).
* NEWS: Mention the issue.
This commit is contained in:
Alexandre Duret-Lutz 2020-12-14 22:48:51 +01:00
parent 142460628c
commit f6be083050
6 changed files with 107 additions and 100 deletions

3
NEWS
View file

@ -170,6 +170,9 @@ New in spot 2.9.5.dev (not yet released)
performing an (unnecessary) second iteration even when the first
one failed to reduce the automaton. (Issue #442)
- tgba_determinize() could create parity automata using more colors
than necessary.
New in spot 2.9.5 (2020-11-19)
Bugs fixed: