ltl2tgba.html: Preliminary support for TA

* wrap/python/spot.i: Add wrapper the new TA algorithms.
* wrap/python/ajax/ltl2tgba.html: Add a testing automaton tab.
* wrap/python/ajax/protocol.txt, wrap/python/ajax/spot.in: Support it.
This commit is contained in:
Alexandre Duret-Lutz 2012-06-24 21:57:50 +02:00
parent 20c3f9f8ba
commit 27a2de331f
4 changed files with 90 additions and 11 deletions

View file

@ -73,6 +73,7 @@ namespace std {
#include "ltlvisit/simplify.hh"
#include "ltlvisit/tostring.hh"
#include "ltlvisit/tunabbrev.hh"
#include "ltlvisit/apcollect.hh"
#include "tgba/bdddict.hh"
#include "tgba/bddprint.hh"
@ -111,6 +112,15 @@ namespace std {
#include "tgbaparse/public.hh"
#include "ta/ta.hh"
#include "ta/tgta.hh"
#include "ta/taexplicit.hh"
#include "ta/tgtaexplicit.hh"
#include "taalgos/tgba2ta.hh"
#include "taalgos/dotty.hh"
#include "taalgos/stats.hh"
#include "taalgos/minimize.hh"
using namespace spot::ltl;
using namespace spot;
%}
@ -176,6 +186,7 @@ using namespace spot;
%include "ltlvisit/simplify.hh"
%include "ltlvisit/tostring.hh"
%include "ltlvisit/tunabbrev.hh"
%include "ltlvisit/apcollect.hh"
%feature("new") spot::emptiness_check::check;
%feature("new") spot::emptiness_check_instantiator::construct;
@ -197,6 +208,8 @@ using namespace spot;
%feature("new") spot::simulation;
%feature("new") spot::degeneralize;
%feature("new") spot::tgba_parse;
%feature("new") spot::tgba_to_ta;
%feature("new") spot::tgba_to_tgta;
// Help SWIG with namespace lookups.
#define ltl spot::ltl
@ -261,6 +274,17 @@ using namespace spot;
%include "tgbaparse/public.hh"
%include "ta/ta.hh"
%include "ta/tgta.hh"
%include "ta/taexplicit.hh"
%include "ta/tgtaexplicit.hh"
%include "taalgos/tgba2ta.hh"
%include "taalgos/dotty.hh"
%include "taalgos/stats.hh"
%include "taalgos/minimize.hh"
#undef ltl
%extend spot::ltl::formula {