bdddict: add an unregister_all_typed_variables() method
* src/tgba/bdddict.cc, src/tgba/bdddict.hh (unregister_all_typed_variables): New method. * src/tgbaalgos/degen.cc (degeneralize): Use it. * NEWS: Mention it.
This commit is contained in:
parent
0c7c933805
commit
b4670f85f1
4 changed files with 25 additions and 2 deletions
|
|
@ -243,10 +243,13 @@ namespace spot
|
|||
|
||||
bdd_dict* dict = a->get_dict();
|
||||
|
||||
// The result (degeneralized) automaton uses numbered state.
|
||||
// The result (degeneralized) automaton uses numbered states.
|
||||
sba_explicit_number* res = new sba_explicit_number(dict);
|
||||
|
||||
// We use the same BDD variables as the input, except for the
|
||||
// acceptance.
|
||||
dict->register_all_variables_of(a, res);
|
||||
// FIXME: unregister acceptance conditions.
|
||||
dict->unregister_all_typed_variables(bdd_dict::acc, res);
|
||||
|
||||
// Invent a new acceptance set for the degeneralized automaton.
|
||||
int accvar =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue