powerset: simplify an implication check
* src/tgbaalgos/powerset.cc: Use bdd_implies.
This commit is contained in:
parent
6f7f9ef8bc
commit
2377523c02
1 changed files with 2 additions and 2 deletions
|
|
@ -81,8 +81,8 @@ namespace spot
|
||||||
// Construct the set of all states reachable via COND.
|
// Construct the set of all states reachable via COND.
|
||||||
power_state dest;
|
power_state dest;
|
||||||
for (auto s: src)
|
for (auto s: src)
|
||||||
for (auto si: aut->out(s))
|
for (auto& si: aut->out(s))
|
||||||
if ((cond >> si.cond) == bddtrue)
|
if (bdd_implies(cond, si.cond))
|
||||||
dest.insert(si.dst);
|
dest.insert(si.dst);
|
||||||
if (dest.empty())
|
if (dest.empty())
|
||||||
continue;
|
continue;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue