sat: add missing prop_state_based_acc() call

Fixes #62.

* src/tgbaalgos/dtbasat.cc, src/tgbaalgos/dtgbasat.cc: Add call to
prop_state_based_acc() when building an automaton with state-based
acceptance.
* src/tgbatest/satmin2.test: New test.
* doc/org/satmin.org: Update.
This commit is contained in:
Alexandre Duret-Lutz 2015-03-17 18:29:28 +01:00
parent 6712fa3c65
commit 72eed9b2e2
4 changed files with 17 additions and 8 deletions

View file

@ -780,7 +780,8 @@ namespace spot
auto a = make_tgba_digraph(autdict);
a->copy_ap_of(aut);
a->set_generalized_buchi(satdict.cand_nacc);
if (state_based)
a->prop_state_based_acc();
a->new_states(satdict.cand_size);
// Last transition set in the automaton.