Add an is_unambiguous() function, use it in ltlcross and autfilt

* src/twaalgos/isunamb.hh, src/twaalgos/isunamb.cc: New files.
* src/twaalgos/Makefile.am: Add them.
* src/tests/unambig.test: New file.
* src/tests/Makefile.am: Add it.
* src/bin/ltlcross.cc: Record whether each produced automaton is
ambiguous.
* src/bin/autfilt.cc: Add a --is-unambiguous option.
* NEWS: Mention it.
This commit is contained in:
Alexandre Duret-Lutz 2013-03-21 11:53:42 +01:00
parent 9f3a7a49de
commit 98de84f3de
8 changed files with 192 additions and 4 deletions

2
NEWS
View file

@ -225,7 +225,7 @@ New in spot 1.99b (not yet released)
new options to produce unambiguous TGBA, i.e., TGBAs in which
every word is accepted by at most one path. The ltl2tgba
command line has a new option, --unambigous (or -U) to produce
these automata.
these automata, and autfilt has a --is-unambiguous filter.
* Noteworthy code changes