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
|
|
@ -1103,7 +1103,7 @@ checked_main(int argc, char** argv)
|
|||
if (echeck_inst
|
||||
&& degeneralize_opt == NoDegen
|
||||
&& n_acc > 1
|
||||
&& echeck_inst->max_acceptance_conditions() < n_acc)
|
||||
&& echeck_inst->max_sets() < n_acc)
|
||||
{
|
||||
degeneralize_opt = DegenTBA;
|
||||
assume_sba = false;
|
||||
|
|
@ -1334,7 +1334,7 @@ checked_main(int argc, char** argv)
|
|||
if (echeck_inst
|
||||
&& degeneralize_opt == NoDegen
|
||||
&& n_acc > 1
|
||||
&& echeck_inst->max_acceptance_conditions() < n_acc)
|
||||
&& echeck_inst->max_sets() < n_acc)
|
||||
degeneralize_opt = DegenTBA;
|
||||
if (degeneralize_opt == DegenTBA)
|
||||
{
|
||||
|
|
@ -1359,13 +1359,13 @@ checked_main(int argc, char** argv)
|
|||
|
||||
|
||||
if (echeck_inst
|
||||
&& (a->acc().num_sets() < echeck_inst->min_acceptance_conditions()))
|
||||
&& (a->acc().num_sets() < echeck_inst->min_sets()))
|
||||
{
|
||||
if (!paper_opt)
|
||||
{
|
||||
std::cerr << echeck_algo << " requires at least "
|
||||
<< echeck_inst->min_acceptance_conditions()
|
||||
<< " acceptance conditions." << std::endl;
|
||||
<< echeck_inst->min_sets()
|
||||
<< " acceptance sets." << std::endl;
|
||||
exit(1);
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue