rename two confusing methods of emptiness_check_instantiator
* spot/twaalgos/emptiness.hh (emptiness_check_instantiator): rename min_acceptance_conditions and max_acceptance_conditions to min_sets and max_sets. * spot/twaalgos/emptiness.cc, python/ajax/spotcgi.in, tests/core/ikwiad.cc, tests/core/emptchk.cc, tests/core/randtgba.cc: Adjust. * doc/org/upgrade2.org, NEWS: Mention the change.
This commit is contained in:
parent
cf79cefd9a
commit
ad08a585af
8 changed files with 76 additions and 70 deletions
|
|
@ -86,8 +86,7 @@ cons_emptiness_check(int num, spot::const_twa_graph_ptr a,
|
|||
unsigned int n_acc)
|
||||
{
|
||||
auto inst = ec_algos[num].inst;
|
||||
if (n_acc < inst->min_acceptance_conditions()
|
||||
|| n_acc > inst->max_acceptance_conditions())
|
||||
if (n_acc < inst->min_sets() || n_acc > inst->max_sets())
|
||||
a = degen;
|
||||
if (a)
|
||||
return inst->instantiate(a);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue