Move several functions from acc.hh to acc.h

* spot/twa/acc.hh: Remove colors_inf_conj and colors_fin_disj
(unused) and moved get_alone_mark (now find_unit_clause),
propagate_fin_inf (now unit_propagation) and has_parity_prefix
to acc.cc.
* spot/twa/acc.cc: Use a new implementation of unit_propagation
and find_unit_clause.
* spot/twaalgos/cleanacc.cc: Use the new name of
propagate_fin_inf.
This commit is contained in:
Florian Renkin 2020-04-10 18:51:47 +02:00 committed by Alexandre Duret-Lutz
parent 630b8333fe
commit b4db34995f
3 changed files with 178 additions and 262 deletions

View file

@ -620,7 +620,7 @@ namespace spot
fuse_marks_here(aut);
}
cleanup_acceptance_here(aut, true);
auto prop_cond = aut->acc().propagate_fin_inf();
auto prop_cond = aut->acc().unit_propagation();
if (prop_cond != aut->acc())
{
aut->set_acceptance(prop_cond);