* iface/gspn/eesrg.cc, iface/gspn/eesrg.hh, iface/gspn/gspn.cc,
iface/gspn/gspn.hh, src/tgba/bdddict.cc, src/tgba/bdddict.hh, src/tgba/bddprint.hh, src/tgba/succiter.hh, src/tgba/succiterconcrete.cc, src/tgba/succiterconcrete.hh, src/tgba/tgba.hh, src/tgba/tgbabddconcrete.cc, src/tgba/tgbabddconcrete.hh, src/tgba/tgbabddconcretefactory.cc, src/tgba/tgbabddconcretefactory.hh, src/tgba/tgbabddcoredata.cc, src/tgba/tgbabddcoredata.hh, src/tgba/tgbaexplicit.cc, src/tgba/tgbaexplicit.hh, src/tgba/tgbaproduct.cc, src/tgba/tgbaproduct.hh, src/tgba/tgbatba.cc, src/tgba/tgbatba.hh, src/tgbaalgos/dotty.cc, src/tgbaalgos/dupexp.cc, src/tgbaalgos/emptinesscheck.cc, src/tgbaalgos/emptinesscheck.hh, src/tgbaalgos/lbtt.cc, src/tgbaalgos/lbtt.hh, src/tgbaalgos/ltl2tgba_fm.cc, src/tgbaalgos/ltl2tgba_lacim.cc, src/tgbaalgos/save.cc, src/tgbatest/explicit.cc, src/tgbatest/ltl2tgba.cc, src/tgbaparse/tgbaparse.yy, wrap/python/tests/ltl2tgba.py: Rewrite `accepting condition' as `acceptance condition'. The symbols which have been renamed are: tgba::all_accepting_conditions tgba::neg_accepting_conditions succ_iterator::current_accepting_conditions bdd_dict::register_accepting_variable bdd_dict::register_accepting_variables bdd_dict::is_registered_accepting_variable tgba_bdd_concrete_factory::declare_accepting_condition tgba_bdd_core_data::accepting_conditions tgba_bdd_core_data::all_accepting_conditions tgba_explicit::declare_accepting_condition tgba_explicit::complement_all_accepting_conditions tgba_explicit::has_accepting_condition tgba_explicit::get_accepting_condition tgba_explicit::add_accepting_condition tgba_explicit::all_accepting_conditions tgba_explicit::neg_accepting_conditions state_tba_proxy::acceptance_cond accepting_cond_splitter
This commit is contained in:
parent
334ae6e757
commit
e341cc9ab6
37 changed files with 312 additions and 272 deletions
|
|
@ -58,7 +58,7 @@ namespace spot
|
|||
}
|
||||
|
||||
void
|
||||
tgba_bdd_concrete_factory::declare_accepting_condition(bdd b,
|
||||
tgba_bdd_concrete_factory::declare_acceptance_condition(bdd b,
|
||||
const ltl::formula* a)
|
||||
{
|
||||
// Maintain a conjunction of BDDs associated to A. We will latter
|
||||
|
|
@ -82,27 +82,27 @@ namespace spot
|
|||
acc_map_::iterator ai;
|
||||
for (ai = acc_.begin(); ai != acc_.end(); ++ai)
|
||||
{
|
||||
// Register a BDD variable for this accepting condition.
|
||||
int num = get_dict()->register_accepting_variable(ai->first, this);
|
||||
// Keep track of all accepting conditions for easy
|
||||
// Register a BDD variable for this acceptance condition.
|
||||
int num = get_dict()->register_acceptance_variable(ai->first, this);
|
||||
// Keep track of all acceptance conditions for easy
|
||||
// existential quantification.
|
||||
data_.declare_accepting_condition(bdd_ithvar(num));
|
||||
data_.declare_acceptance_condition(bdd_ithvar(num));
|
||||
}
|
||||
for (ai = acc_.begin(); ai != acc_.end(); ++ai)
|
||||
{
|
||||
bdd acc = bdd_ithvar(get_dict()->acc_map[ai->first]);
|
||||
|
||||
// Complete acc with all the other accepting conditions negated.
|
||||
// Complete acc with all the other acceptance conditions negated.
|
||||
acc &= bdd_exist(data_.negacc_set, acc);
|
||||
|
||||
// Any state matching the BDD formulae registered is part
|
||||
// of this accepting set.
|
||||
data_.accepting_conditions |= ai->second & acc;
|
||||
// of this acceptance set.
|
||||
data_.acceptance_conditions |= ai->second & acc;
|
||||
|
||||
// Keep track of all accepting conditions, so that we can
|
||||
// easily check whether a transition satisfies all accepting
|
||||
// Keep track of all acceptance conditions, so that we can
|
||||
// easily check whether a transition satisfies all acceptance
|
||||
// conditions.
|
||||
data_.all_accepting_conditions |= acc;
|
||||
data_.all_acceptance_conditions |= acc;
|
||||
}
|
||||
|
||||
// Any constraint between Now variables also exist between Next
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue