cgi: Add an nondeterministic monitor option
* src/tgbaalgos/postproc.hh (run): Rename the first argument as input_disown to help Swig. * wrap/python/spot.i: Wrap spot::postprocessor. * wrap/python/ajax/ltl2tgba.html, wrap/python/ajax/protocol.txt: Add an option for nondeterministic monitor. * wrap/python/ajax/spot.in: Honor the new option, and rewrite the monitor production using postprocessor.
This commit is contained in:
parent
c892599494
commit
abb5170565
5 changed files with 29 additions and 10 deletions
|
|
@ -1,5 +1,5 @@
|
|||
// -*- coding: utf-8 -*-
|
||||
// Copyright (C) 2009, 2010, 2011, 2012 Laboratoire de Recherche
|
||||
// Copyright (C) 2009, 2010, 2011, 2012, 2013 Laboratoire de Recherche
|
||||
// et Développement de l'Epita (LRDE).
|
||||
// Copyright (C) 2003, 2004, 2005, 2006 Laboratoire d'Informatique
|
||||
// de Paris 6 (LIP6), département Systèmes Répartis Coopératifs (SRC),
|
||||
|
|
@ -108,6 +108,7 @@ namespace std {
|
|||
#include "tgbaalgos/stats.hh"
|
||||
#include "tgbaalgos/isdet.hh"
|
||||
#include "tgbaalgos/simulation.hh"
|
||||
#include "tgbaalgos/postproc.hh"
|
||||
|
||||
#include "tgbaparse/public.hh"
|
||||
|
||||
|
|
@ -211,6 +212,12 @@ using namespace spot;
|
|||
%feature("new") spot::tgba_parse;
|
||||
%feature("new") spot::tgba_to_ta;
|
||||
%feature("new") spot::tgba_to_tgta;
|
||||
%feature("new") spot::postprocessor::run;
|
||||
|
||||
// The argument to postprocessor::run() will be deleted.
|
||||
// Apparently SWIG can only disown arguments based on their
|
||||
// names...
|
||||
%apply SWIGTYPE *DISOWN { SWIGTYPE * input_disown };
|
||||
|
||||
// Help SWIG with namespace lookups.
|
||||
#define ltl spot::ltl
|
||||
|
|
@ -297,6 +304,7 @@ using namespace spot;
|
|||
%include "tgbaalgos/stats.hh"
|
||||
%include "tgbaalgos/isdet.hh"
|
||||
%include "tgbaalgos/simulation.hh"
|
||||
%include "tgbaalgos/postproc.hh"
|
||||
|
||||
%include "tgbaparse/public.hh"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue