acc_cond: get rid of generalized_buchi()

It is already in acc_cond::acc_code::generalized_buchi() along with all
other acceptance condition constructors.

* spot/twa/acc.hh (acc_cond::generalized_buchi): Remove.
* spot/tests/ikwiad.cc, spot/twaalgos/postproc.cc: Adjust.
This commit is contained in:
Alexandre Duret-Lutz 2015-12-18 18:14:25 +01:00
parent df1ef302e8
commit fbf5ac0ea7
3 changed files with 11 additions and 12 deletions

View file

@ -414,15 +414,18 @@ namespace spot
{
if (sat_states_ != -1)
res = dtwa_sat_synthetize
(res, target_acc, acc_cond::generalized_buchi(target_acc),
(res, target_acc,
acc_cond::acc_code::generalized_buchi(target_acc),
sat_states_, state_based_);
else if (sat_minimize_ == 1 || sat_minimize_ == -1)
res = dtwa_sat_minimize
(res, target_acc, acc_cond::generalized_buchi(target_acc),
(res, target_acc,
acc_cond::acc_code::generalized_buchi(target_acc),
state_based_);
else // sat_minimize_ == 2
res = dtwa_sat_minimize_dichotomy
(res, target_acc, acc_cond::generalized_buchi(target_acc),
(res, target_acc,
acc_cond::acc_code::generalized_buchi(target_acc),
state_based_);
}