simplify_acceptance: Use color inclusions to simplify a condition
This fixes #406. * spot/twaalgos/cleanacc.cc: Add the simplification. * tests/core/remfin.test, tests/python/automata.ipynb, tests/python/remfin.py: Update tests. * tests/python/simplacc.py: Update and add tests.
This commit is contained in:
parent
05e6e08859
commit
5ec9d55fea
5 changed files with 395 additions and 273 deletions
|
|
@ -92,4 +92,4 @@ State: 2
|
|||
""")
|
||||
b = spot.remove_fin(a)
|
||||
size = (b.num_states(), b.num_edges())
|
||||
assert size == (5, 15);
|
||||
assert size == (5, 17);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue