hoa: output "unambiguous" only for non-deterministic automata by default
* src/twaalgos/hoa.cc: Output do not output "unambiguous" if the automaton is deterministic. Add option "v" to cancel this restriction, and also output "no-univ-branch". * src/twaalgos/hoa.hh: Document the "v" option. * src/tests/readsave.test: Test it. * src/tests/unambig.test: Adjust for unambiguous not being output if the automaton is deterministic. * src/bin/common_aoutput.cc, NEWS: Document it. * doc/org/hoa.org: Add a summary table about how properties are handled. * src/twa/twa.hh (prop_deterministic): Setting this should also set the unambiguous property. * src/twaalgos/isunamb.cc: Simplify the property check.
This commit is contained in:
parent
30037b9905
commit
33c234da11
9 changed files with 106 additions and 8 deletions
|
|
@ -27,7 +27,7 @@ namespace spot
|
|||
{
|
||||
bool is_unambiguous(const const_twa_graph_ptr& aut)
|
||||
{
|
||||
if (aut->prop_deterministic() || aut->prop_unambiguous())
|
||||
if (aut->prop_unambiguous())
|
||||
return true;
|
||||
auto clean_a = scc_filter_states(aut);
|
||||
if (clean_a->num_edges() == 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue