Adjust ltl2tgba.py to call scc_filter() with the "full" option as

appropriate.

* wrap/python/spot.i (spot::scc_filter): Make it available.
* wrap/python/cgi-bin/ltl2tgba.in (reduce_scc): Call scc_filter.
Use the "full" option unless the show_degen_png or
show_never_claim are set.  Also reduce_scc the default.
This commit is contained in:
Alexandre Duret-Lutz 2010-04-12 16:39:28 +02:00
parent ef3c82e1b0
commit 60dbeb1128
3 changed files with 19 additions and 2 deletions

View file

@ -91,6 +91,7 @@
#include "tgbaalgos/reductgba_sim.hh"
#include "tgbaalgos/rundotdec.hh"
#include "tgbaalgos/save.hh"
#include "tgbaalgos/sccfilter.hh"
#include "tgbaalgos/stats.hh"
using namespace spot::ltl;
@ -151,6 +152,7 @@ using namespace spot;
%feature("new") spot::reduc_tgba_sim;
%feature("new") spot::emptiness_check_instantiator::construct;
%feature("new") spot::emptiness_check_instantiator::instanciate;
%feature("new") spot::scc_filter;
// Help SWIG with namespace lookups.
#define ltl spot::ltl
@ -182,6 +184,7 @@ using namespace spot;
%include "tgbaalgos/reductgba_sim.hh"
%include "tgbaalgos/rundotdec.hh"
%include "tgbaalgos/save.hh"
%include "tgbaalgos/sccfilter.hh"
%include "tgbaalgos/stats.hh"
#undef ltl