Use bdd_implies() to speedup various algorithms.

* src/ltlvisit/simplify.cc, src/tgba/tgbaproduct.cc,
src/tgba/tgbatba.cc, src/tgbaalgos/sccfilter.cc,
src/tgbaalgos/simulation.cc: Here.
This commit is contained in:
Alexandre Duret-Lutz 2012-06-13 21:16:33 +02:00
parent 821d5e54b7
commit 484ea488c3
5 changed files with 13 additions and 21 deletions

View file

@ -411,8 +411,7 @@ namespace spot
if (it1 == it2)
continue;
// We detect that "a&b -> a" by testing "a&b = a".
if ((it1->first & it2->first) == (it1->first))
if (bdd_implies(it1->first, it2->first))
{
accu &= it2->second;
++po_size_;