* src/tgbaalgos/reductgba_sim_del.cc

(parity_game_graph_delayed::nb_set_acc_cond): Simplify.
This commit is contained in:
Alexandre Duret-Lutz 2005-05-25 09:00:19 +00:00
parent 35aa277164
commit fc4f4f7288
2 changed files with 4 additions and 10 deletions

View file

@ -341,16 +341,7 @@ namespace spot
int
parity_game_graph_delayed::nb_set_acc_cond()
{
bdd acc, all;
acc = all = automata_->all_acceptance_conditions();
int count = 0;
while (all != bddfalse)
{
sub_set_acc_cond_.push_back(bdd_satone(all));
all -= bdd_satone(all);
++count;
}
return count;
return automata_->number_of_acceptance_conditions();
}
// We build only node which are reachable