dot: better support of state-based acceptance

* src/tgbaalgos/dotty.cc: Here.
* src/tgbaalgos/sbacc.cc: Make the produced automata as state-based.
* src/tgbatest/readsave.test: Add a test.
This commit is contained in:
Alexandre Duret-Lutz 2015-03-23 19:38:47 +01:00
parent fb7b7a944a
commit ead2ca0158
3 changed files with 198 additions and 33 deletions

View file

@ -32,6 +32,8 @@ namespace spot
auto res = make_tgba_digraph(old->get_dict());
res->copy_ap_of(old);
res->copy_acceptance_of(old);
res->prop_copy(old, {false, true, true, true});
res->prop_state_based_acc();
typedef std::pair<unsigned, acc_cond::mark_t> pair_t;
std::map<pair_t, unsigned> s2n;