ltl2tgba.html: Use the new degeneralization routine.
* wrap/python/spot.i: Export degeneralize(). * wrap/python/ajax/spot.in: Use it.
This commit is contained in:
parent
bc5a4ba416
commit
141baae57e
2 changed files with 7 additions and 2 deletions
|
|
@ -616,13 +616,13 @@ if direct_simul:
|
|||
issba = False
|
||||
|
||||
if degen or neverclaim:
|
||||
degen = spot.tgba_sba_proxy(automaton)
|
||||
degen = spot.degeneralize(automaton)
|
||||
issba = True
|
||||
else:
|
||||
degen = automaton
|
||||
|
||||
if utf8:
|
||||
spot.tgba_enable_utf8(automaton)
|
||||
spot.tgba_enable_utf8(degen)
|
||||
|
||||
# Buchi Automaton Output
|
||||
if output_type == 'a':
|
||||
|
|
|
|||
|
|
@ -79,6 +79,7 @@ namespace std {
|
|||
#include "tgba/state.hh"
|
||||
#include "tgba/succiter.hh"
|
||||
#include "tgba/tgba.hh"
|
||||
#include "tgba/sba.hh"
|
||||
#include "tgba/statebdd.hh"
|
||||
#include "tgba/taatgba.hh"
|
||||
#include "tgba/tgbabddcoredata.hh"
|
||||
|
|
@ -90,6 +91,7 @@ namespace std {
|
|||
|
||||
#include "tgbaalgos/dottydec.hh"
|
||||
#include "tgbaalgos/dotty.hh"
|
||||
#include "tgbaalgos/degen.hh"
|
||||
#include "tgbaalgos/dupexp.hh"
|
||||
#include "tgbaalgos/emptiness.hh"
|
||||
#include "tgbaalgos/gtec/gtec.hh"
|
||||
|
|
@ -193,6 +195,7 @@ using namespace spot;
|
|||
%feature("new") spot::tgba::succ_iter;
|
||||
%feature("new") spot::tgba_succ_iterator::current_state;
|
||||
%feature("new") spot::simulation;
|
||||
%feature("new") spot::degeneralize;
|
||||
%feature("new") spot::tgba_parse;
|
||||
|
||||
// Help SWIG with namespace lookups.
|
||||
|
|
@ -202,6 +205,7 @@ using namespace spot;
|
|||
%include "tgba/state.hh"
|
||||
%include "tgba/succiter.hh"
|
||||
%include "tgba/tgba.hh"
|
||||
%include "tgba/sba.hh"
|
||||
%include "tgba/statebdd.hh"
|
||||
%include "tgba/taatgba.hh"
|
||||
%include "tgba/tgbabddcoredata.hh"
|
||||
|
|
@ -235,6 +239,7 @@ using namespace spot;
|
|||
spot::explicit_conf<tgba_explicit<state_explicit_formula>,
|
||||
state_explicit_formula>;
|
||||
|
||||
%include "tgbaalgos/degen.hh"
|
||||
%include "tgbaalgos/dottydec.hh"
|
||||
%include "tgbaalgos/dotty.hh"
|
||||
%include "tgbaalgos/dupexp.hh"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue