bin: add --check=unambiguous

* src/bin/common_aoutput.cc: Add --check=unambiguous.
* src/twa/twa.hh: New unambiguous property.
* src/twaalgos/hoa.cc: Print it.
* src/twaalgos/ltl2tgba_fm.cc: Set it.
* src/twaalgos/isunamb.cc, src/twaalgos/isunamb.hh
(check_unambiguous): New function.
* src/tests/unambig.test: More tests.
This commit is contained in:
Alexandre Duret-Lutz 2015-05-10 17:39:26 +02:00
parent 98de84f3de
commit 487a86d06a
7 changed files with 47 additions and 7 deletions

View file

@ -2555,6 +2555,9 @@ namespace spot
a->prop_inherently_weak(f->is_syntactic_persistence());
a->prop_stutter_invariant(f->is_syntactic_stutter_invariant());
// Currently the unambiguous option work only with LTL.
a->prop_unambiguous(f->is_ltl_formula() && unambiguous);
if (!simplifier)
// This should not be deleted before we have registered all propositions.
delete s;