Add the simulation in the Spot web interface.
* wrap/python/ajax/spot.in: Add the simulation. * wrap/python/ajax/protocol.txt: Add the direct simulation in the automaton simplifications section. * wrap/python/spot.i (simulation_new): Create a function which takes an automaton and a call to the simulation with the good template parameter. * wrap/python/ajax/ltl2tgba.html: Add the direct simulation checkbox.
This commit is contained in:
parent
085ea52bf5
commit
dfcaed034e
4 changed files with 16 additions and 1 deletions
|
|
@ -101,6 +101,7 @@
|
|||
#include "tgbaalgos/save.hh"
|
||||
#include "tgbaalgos/sccfilter.hh"
|
||||
#include "tgbaalgos/stats.hh"
|
||||
#include "tgbaalgos/simulation.hh"
|
||||
|
||||
using namespace spot::ltl;
|
||||
using namespace spot;
|
||||
|
|
@ -186,7 +187,7 @@ using namespace spot;
|
|||
%feature("new") spot::tgba::get_init_state;
|
||||
%feature("new") spot::tgba::succ_iter;
|
||||
%feature("new") spot::tgba_succ_iterator::current_state;
|
||||
|
||||
%feature("new") spot::simulation;
|
||||
// Help SWIG with namespace lookups.
|
||||
#define ltl spot::ltl
|
||||
%include "tgba/bdddict.hh"
|
||||
|
|
@ -230,6 +231,7 @@ using namespace spot;
|
|||
%include "tgbaalgos/save.hh"
|
||||
%include "tgbaalgos/sccfilter.hh"
|
||||
%include "tgbaalgos/stats.hh"
|
||||
%include "tgbaalgos/simulation.hh"
|
||||
#undef ltl
|
||||
|
||||
%extend spot::ltl::formula {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue