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:
Damien Lefortier 2010-01-16 11:48:21 +01:00
parent 88df8c0a1d
commit 7c20d8ae5d
5 changed files with 244 additions and 202 deletions

View file

@ -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;