sccinfo: stop keeping track of conditions between SCCs
They are unused. * src/twaalgos/sccinfo.cc, src/twaalgos/sccinfo.hh: Do not keep track of conditions between two SCCs. * src/twaalgos/minimize.cc, src/twaalgos/ltl2tgba_fm.cc: Adjust.
This commit is contained in:
parent
e540eaeee1
commit
c8cf86b081
4 changed files with 14 additions and 37 deletions
|
|
@ -545,10 +545,10 @@ namespace spot
|
|||
// Also SCCs are useless if all their successor are
|
||||
// useless.
|
||||
unsigned l = k;
|
||||
for (auto& j: succ)
|
||||
for (unsigned j: succ)
|
||||
{
|
||||
is_useless &= useless[j.dst];
|
||||
unsigned dj = d[j.dst];
|
||||
is_useless &= useless[j];
|
||||
unsigned dj = d[j];
|
||||
if (dj < l)
|
||||
l = dj;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue