autfilt: implement --complement

* src/bin/autfilt.cc: Add option --complete.
* src/twaalgos/complete.cc: Better handling of 0-edge automata.
* src/tests/complement.test: New file.
* src/tests/Makefile.am: Add it.
This commit is contained in:
Alexandre Duret-Lutz 2015-10-15 13:58:20 +02:00
parent 6cf807da6e
commit 2ae1b6a6f0
5 changed files with 136 additions and 0 deletions

7
NEWS
View file

@ -1,5 +1,12 @@
New in spot 1.99.4a (not yet released)
Command-line tools:
* autfilt has gained a --complement option.
It currently work only for deterministic automata.
Library:
* Rename dtgba_complement() as dtwa_complement(), rename the header
as complement.hh, and restrict the purpose of this function to
just complete the automaton and complement its acceptance