* src/tgbaalgos/reductgba_sim_del.cc
(parity_game_graph_delayed::nb_set_acc_cond): Simplify.
This commit is contained in:
parent
35aa277164
commit
fc4f4f7288
2 changed files with 4 additions and 10 deletions
|
|
@ -1,5 +1,8 @@
|
||||||
2005-05-25 Alexandre Duret-Lutz <adl@src.lip6.fr>
|
2005-05-25 Alexandre Duret-Lutz <adl@src.lip6.fr>
|
||||||
|
|
||||||
|
* src/tgbaalgos/reductgba_sim_del.cc
|
||||||
|
(parity_game_graph_delayed::nb_set_acc_cond): Simplify.
|
||||||
|
|
||||||
* sanity/style.test: Catch misuses of Sgi::.
|
* sanity/style.test: Catch misuses of Sgi::.
|
||||||
* tgba/tgbareduc.hh, tgbaalgos/reductgba_sim.cc,
|
* tgba/tgbareduc.hh, tgbaalgos/reductgba_sim.cc,
|
||||||
tgbaalgos/reductgba_sim.hh, tgbaalgos/reductgba_sim_del.cc: Fix them.
|
tgbaalgos/reductgba_sim.hh, tgbaalgos/reductgba_sim_del.cc: Fix them.
|
||||||
|
|
|
||||||
|
|
@ -341,16 +341,7 @@ namespace spot
|
||||||
int
|
int
|
||||||
parity_game_graph_delayed::nb_set_acc_cond()
|
parity_game_graph_delayed::nb_set_acc_cond()
|
||||||
{
|
{
|
||||||
bdd acc, all;
|
return automata_->number_of_acceptance_conditions();
|
||||||
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;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// We build only node which are reachable
|
// We build only node which are reachable
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue