Simplify copying of atomic propositions in new tgba_digraph.
* src/tgba/bdddict.cc, src/tgba/bdddict.hh (register_all_propositions_of): New method. * src/tgba/tgbagraph.hh (copy_ap_of): New method. * src/dstarparse/dra2ba.cc, src/dstarparse/nra2nba.cc, src/dstarparse/nsa2tgba.cc, src/tgbaalgos/degen.cc, src/tgbaalgos/dtbasat.cc, src/tgbaalgos/dtgbasat.cc, src/tgbaalgos/dupexp.cc, src/tgbaalgos/emptiness.cc, src/tgbaalgos/minimize.cc, src/tgbaalgos/powerset.cc, src/tgbaalgos/sccfilter.cc, src/tgbaalgos/simulation.cc, src/tgbaalgos/stripacc.cc: Simplify using copy_ap_of.
This commit is contained in:
parent
917f70073f
commit
10e5c62386
16 changed files with 65 additions and 61 deletions
|
|
@ -235,8 +235,7 @@ namespace spot
|
|||
sm_(sm),
|
||||
realizable_(realizable)
|
||||
{
|
||||
bdd_dict* bd = a->aut->get_dict();
|
||||
bd->register_all_variables_of(a->aut, out_);
|
||||
out_->copy_ap_of(a->aut);
|
||||
out_->set_bprop(tgba_digraph::StateBasedAcc);
|
||||
acc_ = out_->set_single_acceptance_set();
|
||||
out_->new_states(num_states_ * (a->accpair_count + 1));
|
||||
|
|
@ -292,7 +291,8 @@ namespace spot
|
|||
// accepting cycle.
|
||||
out_->new_transition(in, out + shift, cond);
|
||||
|
||||
// Acceptance transitions are those in the Li set. (Löding's Fi set.)
|
||||
// Acceptance transitions are those in the Li
|
||||
// set. (Löding's Fi set.)
|
||||
out_->new_acc_transition(in + shift, out + shift, cond,
|
||||
l.get(i));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue