postproc: add the possibility to output a monitor
* src/tgbaalgos/stripacc.cc, src/tgbaalgos/stripacc.hh: New files. * src/tgbaalgos/Makefile.am: Add them. * src/tgbaalgos/postproc.cc, src/tgbaalgos/postproc.hh: Add a Monitor output option. * src/bin/ltl2tgba.cc: Add a --monitor/-M option. * NEWS: Mention monitors. * src/tgba/tgbaexplicit.hh (is_accepting_state): Fix for the case where the automaton has no acceptance set.
This commit is contained in:
parent
5f6c262ae5
commit
76787b23c0
8 changed files with 169 additions and 15 deletions
|
|
@ -710,7 +710,8 @@ namespace spot
|
|||
// So we need only to check one to decide
|
||||
if (st->successors.empty())
|
||||
return false;
|
||||
return st->successors.front().acceptance_conditions != bddfalse;
|
||||
return (st->successors.front().acceptance_conditions
|
||||
== this->all_acceptance_conditions_);
|
||||
}
|
||||
|
||||
private:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue