reduce_parity: add layered option

* spot/twaalgos/parity.cc: Implement it.
* spot/twaalgos/parity.hh, NEWS: Document it.
* tests/python/parity.ipynb: Demonstrate it.  This is the only test so
far, but more uses are coming.
This commit is contained in:
Alexandre Duret-Lutz 2022-10-14 16:41:26 +02:00
parent eb2616efaa
commit b0c299b9e9
4 changed files with 357 additions and 165 deletions

6
NEWS
View file

@ -1,5 +1,11 @@
New in spot 2.11.1.dev (not yet released)
Library:
- spot::reduce_parity() now has a "layered" option to force all
transition in the same parity layer to receive the same color;
like acd_transform() would do.
Bugs fixed:
- Fix pkg-config files containing @LIBSPOT_PTHREAD@ (issue #520)