twaalgos: Help sat_build to ignore unuseful transitions

* spot/twaalgos/dtbasat.cc: Fix static sat_build.
* spot/twaalgos/dtwasat.cc: Fix static sat_build.
This commit is contained in:
Alexandre GBAGUIDI AISSE 2016-10-12 10:38:29 +02:00
parent dfd500a559
commit 79f4c8e0d7
2 changed files with 8 additions and 0 deletions

View file

@ -646,6 +646,10 @@ namespace spot
if (t != satdict.revtransid.end())
{
// Ignore unuseful transitions because of reduced cand_size.
if (t->second.src >= satdict.cand_size)
continue;
// Skip (s,l,d2) if we have already seen some (s,l,d1).
if (seen_trans.insert(src_cond(t->second.src,
t->second.cond)).second)

View file

@ -1041,6 +1041,10 @@ namespace spot
if (t != satdict.revtransid.end())
{
// Ignore unuseful transitions because of reduced cand_size.
if (t->second.src >= satdict.cand_size)
continue;
// Skip (s,l,d2) if we have already seen some (s,l,d1).
if (seen_trans.insert(src_cond(t->second.src,
t->second.cond)).second)