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:
parent
98de84f3de
commit
487a86d06a
7 changed files with 47 additions and 7 deletions
|
|
@ -25,7 +25,7 @@ namespace spot
|
|||
{
|
||||
class tgba;
|
||||
|
||||
/// \addtogroup tgba_misc
|
||||
/// \addtogroup twa_misc
|
||||
/// @{
|
||||
|
||||
/// \brief Whether the automaton \a aut is unambiguous.
|
||||
|
|
@ -40,5 +40,8 @@ namespace spot
|
|||
SPOT_API bool
|
||||
is_unambiguous(const const_twa_graph_ptr& aut);
|
||||
|
||||
/// Like is_unambiguous(), but also sets the property in the twa.
|
||||
SPOT_API bool
|
||||
check_unambiguous(const twa_graph_ptr& aut);
|
||||
/// @}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue