new transformation from Fin-less to TGBA
Fixes #72. * src/tgbaalgos/totgba.cc, src/tgbaalgos/totgba.hh: New files. * src/tgbaalgos/Makefile.am: Add them. * src/tgbaalgos/postproc.cc, src/tgbaalgos/postproc.hh: Add a Generic output type, and call to_generalized_buchi() if this type is not selected. * src/tgbatest/remfin.test: Add some tests. * src/bin/autfilt.cc: Add a --generic option, and set it by default.
This commit is contained in:
parent
16204e8e61
commit
e589e208bd
7 changed files with 296 additions and 3 deletions
|
|
@ -30,6 +30,7 @@
|
|||
#include "dtbasat.hh"
|
||||
#include "dtgbasat.hh"
|
||||
#include "complete.hh"
|
||||
#include "totgba.hh"
|
||||
|
||||
namespace spot
|
||||
{
|
||||
|
|
@ -140,8 +141,12 @@ namespace spot
|
|||
tgba_digraph_ptr
|
||||
postprocessor::run(tgba_digraph_ptr a, const ltl::formula* f)
|
||||
{
|
||||
if (type_ != Generic && !a->acc().is_generalized_buchi())
|
||||
a = to_generalized_buchi(a);
|
||||
|
||||
if (PREF_ == Any && level_ == Low)
|
||||
if (type_ == TGBA
|
||||
if (type_ == Generic
|
||||
|| type_ == TGBA
|
||||
|| (type_ == BA && a->is_sba())
|
||||
|| (type_ == Monitor && a->acc().num_sets() == 0))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue