Introduce taa_tgba_labelled<label> so that we can build
taa_tgba instances labelled by other objects than strings in the same way Alexandre did for tgba_explicit. * src/tgba/taatgba.cc, src/tgba/taatgba.hh: Split taa_tgba in two levels: taa_tgba with no label and taa_tgba_labelled templated by the type of the label. Define taa_tgba_string (with the interface of the former taa_tgba class) and taa_tgba_formula for future use in ltl2taa.cc. * src/tgbaalgos/ltl2taa.cc, src/tgbatest/taatgba.cc: Adjust to use taa_tgba_string.
This commit is contained in:
parent
88df8c0a1d
commit
7c20d8ae5d
5 changed files with 244 additions and 202 deletions
|
|
@ -34,7 +34,7 @@ main()
|
|||
|
||||
spot::ltl::default_environment& e =
|
||||
spot::ltl::default_environment::instance();
|
||||
spot::taa_tgba* a = new spot::taa_tgba(dict);
|
||||
spot::taa_tgba_string* a = new spot::taa_tgba_string(dict);
|
||||
|
||||
typedef spot::taa_tgba::transition trans;
|
||||
typedef spot::taa_tgba::state state;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue