twaalgos/cobuchi: Add dnf_to_nca() method

* NEWS: Update.
* spot/twaalgos/cobuchi.hh: Declare dnf_to_nca().
* spot/twaalgos/cobuchi.cc: Implement it.
* tests/core/dca.test: Add tests.
This commit is contained in:
Alexandre GBAGUIDI AISSE 2017-06-17 21:31:43 +02:00
parent 50e99cdca7
commit f2616069be
4 changed files with 343 additions and 12 deletions

15
NEWS
View file

@ -23,18 +23,19 @@ New in spot 2.4.0.dev (not yet released)
specified SCC. It must only be called on automata with a
Streett-like acceptance condition.
- The new function nsa_to_nca() is able to convert when possible an
automaton with a Streett-like acceptance to an equivalent
automaton with a co-Büchi acceptance. Actually the resulting
automaton will always recognize at least the same language. It can
recognize more if the original language can not be expressed with
a co-Büchi acceptance condition.
- The new function dnf_to_streett() is able to convert any automaton
with an acceptance condition in Disjunctive Normal Form to a
Streett-like automaton. This is used by the new option
'--streett-like' of autfilt.
- The new functions nsa_to_nca() and nra_to_nca() are able to convert
when possible respectively an automaton with a Streett-like
acceptance or a Rabin-like acceptance to an equivalent automaton
with a co-Büchi acceptance. Actually the resulting automaton will
always recognize at least the same language. It can recognize more
if the original language can not be expressed with a co-Büchi
acceptance condition.
Deprecation notices:
(These functions still work but compilers emit warnings.)