partial_degeneralize: a support for disjunction of Fin

* spot/twaalgos/degen.cc, spot/twaalgos/degen.hh: Implement this.
Also throw a runtime error in case were todegen does not match any
subformula.
* tests/python/pdegen.py: Add tests.
This commit is contained in:
Alexandre Duret-Lutz 2020-02-03 11:01:01 +01:00
parent f1008c156b
commit f9e75de647
4 changed files with 120 additions and 26 deletions

3
NEWS
View file

@ -59,7 +59,8 @@ New in spot 2.8.5.dev (not yet released)
- partial_degeneralize() is a new function performing partial
degeneralization to get rid of conjunctions of Inf terms in
acceptance conditions.
acceptance conditions. This also works with disjunctions of
Fin terms in deterministic automata.
- simplify_acceptance_here() and simplify_acceptance() learned to
simplify subformulas like Fin(i)&Fin(j) or Inf(i)|Inf(j), or some