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:
Alexandre Duret-Lutz 2012-10-20 20:18:01 +02:00
parent 5f6c262ae5
commit 76787b23c0
8 changed files with 169 additions and 15 deletions

View file

@ -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: