rename set_acceptance_conditions as set_generalized_buchi

* src/hoaparse/hoaparse.yy, src/tgba/tgbagraph.hh,
src/tgbaalgos/compsusp.cc, src/tgbaalgos/dtgbasat.cc,
src/tgbaalgos/mask.cc, src/tgbaalgos/randomgraph.cc,
src/tgbaalgos/sccfilter.cc, src/tgbaalgos/simulation.cc,
src/tgbaalgos/stripacc.cc, src/tgba/tgba.hh: Here.
This commit is contained in:
Alexandre Duret-Lutz 2015-02-19 18:47:15 +01:00
parent fd1f6c4d61
commit 76c676dba0
10 changed files with 16 additions and 15 deletions

View file

@ -226,7 +226,7 @@ namespace spot
const acc_cond& la = left->acc();
const acc_cond& ra = right->acc();
res->set_acceptance_conditions(la.num_sets() + ra.num_sets());
res->set_generalized_buchi(la.num_sets() + ra.num_sets());
acc_cond::mark_t radd = ra.all_sets();

View file

@ -779,7 +779,7 @@ namespace spot
auto autdict = aut->get_dict();
auto a = make_tgba_digraph(autdict);
a->copy_ap_of(aut);
a->set_acceptance_conditions(satdict.cand_nacc);
a->set_generalized_buchi(satdict.cand_nacc);
a->new_states(satdict.cand_size);

View file

@ -31,7 +31,7 @@ namespace spot
unsigned na = inacc.num_sets();
unsigned tr = to_remove.count();
assert(tr <= na);
res->set_acceptance_conditions(na - tr);
res->set_generalized_buchi(na - tr);
transform_accessible(in, res, [&](unsigned,
bdd& cond,
acc_cond::mark_t& acc,

View file

@ -134,7 +134,7 @@ namespace spot
for (auto i: *ap)
props[pi++] = dict->register_proposition(i, res);
res->set_acceptance_conditions(n_accs);
res->set_generalized_buchi(n_accs);
// Using std::unordered_set instead of std::set for these sets is 3
// times slower (tested on a 50000 nodes example).

View file

@ -275,7 +275,7 @@ namespace spot
inout.push_back(-1U);
filtered->
set_acceptance_conditions(filter.accsets(aut->acc().num_sets()));
set_generalized_buchi(filter.accsets(aut->acc().num_sets()));
filtered->new_states(out_n);
for (unsigned isrc = 0; isrc < in_n; ++isrc)
{

View file

@ -628,7 +628,7 @@ namespace spot
delete gb;
res->prop_copy(original_,
{ false, // state-based acc forced below
false, // single acc set by set_acceptance_conditions
false, // single acc set by set_generalized_buchi
true, // weakness preserved,
false, // determinism checked and set below
});

View file

@ -28,6 +28,6 @@ namespace spot
for (unsigned s = 0; s < n; ++s)
for (auto& t: a->out(s))
t.acc = 0U;
a->set_acceptance_conditions(0);
a->set_generalized_buchi(0);
}
}