tgba_explicit: make the new class work with Swig.
* src/tgba/tgbaexplicit.hh (explicit_graph, tgba_explicit): Make the transition type explicit. (state_explicit_string::get_iterator): New method. (explicit_graph::get_transition): Use it. (tba): Rename as ... (sba): ... this. * wrap/python/spot.i: Instanciate explicit_graph and tgba_explicit for all three types.
This commit is contained in:
parent
a15aac2845
commit
603c5d603b
2 changed files with 22 additions and 6 deletions
|
|
@ -203,6 +203,16 @@ using namespace spot;
|
|||
%include "tgba/tgbaproduct.hh"
|
||||
%include "tgba/tgbatba.hh"
|
||||
|
||||
%template(explicit_graph__string_tgba)
|
||||
spot::explicit_graph<state_explicit_string, tgba>;
|
||||
%template(explicit_graph__number_tgba)
|
||||
spot::explicit_graph<state_explicit_number, tgba>;
|
||||
%template(explicit_graph__formula_tgba)
|
||||
spot::explicit_graph<state_explicit_formula, tgba>;
|
||||
%template(tgba_explicit__string) spot::tgba_explicit<state_explicit_string>;
|
||||
%template(tgba_explicit__number) spot::tgba_explicit<state_explicit_number>;
|
||||
%template(tgba_explicit__formula) spot::tgba_explicit<state_explicit_formula>;
|
||||
|
||||
%include "tgbaalgos/dottydec.hh"
|
||||
%include "tgbaalgos/dotty.hh"
|
||||
%include "tgbaalgos/dupexp.hh"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue