lbtt: build an explicit automaton on input.

* src/priv/accmap.hh (acc_mapper): Rename into...
(acc_mapper_string): ... this, and add
(acc_mapper_int): ... this variant.
* src/tgbaparse/tgbaparse.yy: Adjust to renaming.
* src/tgbaalgos/lbtt.cc: Use acc_mapper_int and build an explicit
automaton.
* src/tgbaalgos/lbtt.hh: Adjust return type.
* src/tgbatest/ltl2tgba.cc: Adjust to new return type.
This commit is contained in:
Alexandre Duret-Lutz 2014-07-02 18:54:20 +02:00
parent 1d28714c3a
commit 120ce7d8e6
5 changed files with 218 additions and 188 deletions

View file

@ -1144,8 +1144,9 @@ main(int argc, char** argv)
}
tm.start("parsing lbtt");
to_free = a =
const_cast<spot::tgba*>(spot::lbtt_parse(*in, error, dict,
env, env));
const_cast<spot::tgba_digraph*>(spot::lbtt_parse(*in,
error, dict,
env, env));
tm.stop("parsing lbtt");
delete f;
if (!to_free)