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

@ -27,7 +27,8 @@ namespace spot
/// \addtogroup tgba_reduction
/// @{
/// \brief Wrap TGBA/BA post-processing algorithms in an easy interface.
/// \brief Wrap TGBA/BA/Monitor post-processing algorithms in an
/// easy interface.
///
/// This class is a shell around scc_filter(),
/// minimize_obligation(), simulation(), iterated_simulations(), and
@ -61,7 +62,7 @@ namespace spot
{
}
enum output_type { TGBA, BA };
enum output_type { TGBA, BA, Monitor };
void
set_type(output_type type)
{