game: fix solving "parity min" games with multi-colored edges

* spot/twaalgos/game.cc: If the original acceptance is "parity min",
use min_set(), not max_set(), to read edge priorities.
* tests/python/game.py: Add a test case.
* NEWS: Mention the bug.
This commit is contained in:
Alexandre Duret-Lutz 2024-08-30 16:05:50 +02:00
parent 97832af321
commit cc0f6f1e0d
3 changed files with 31 additions and 2 deletions

5
NEWS
View file

@ -5,6 +5,11 @@ New in spot 2.12.0.dev (not yet released)
- Generating random formula without any unary opertors would very
often create formulas much smaller than asked.
- The parity game solver, which internally works on "parity max
odd", but actually accept any type of parity acceptance, could be
confused by games with "parity min" acceptance using transition
with several colors (a rather uncommon situation).
New in spot 2.12 (2024-05-16)
Build: