Commit 141baae5 authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

ltl2tgba.html: Use the new degeneralization routine.

* wrap/python/spot.i: Export degeneralize().
* wrap/python/ajax/spot.in: Use it.
parent bc5a4ba4
......@@ -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"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment