* spot/twaalgos/sccinfo.cc (scc_info::split_on_sets): Honor filter.
This commit is contained in:
parent
948f99bc4e
commit
f7e3d58846
1 changed files with 14 additions and 13 deletions
|
|
@ -722,19 +722,20 @@ namespace spot
|
|||
unsigned dst)
|
||||
{
|
||||
cur[src] = seen[src] = true;
|
||||
// if (filter_)
|
||||
// {
|
||||
// twa_graph::edge_storage_t e;
|
||||
// e.cond = cond;
|
||||
// e.src = src;
|
||||
// e.dst = dst;
|
||||
// if (filter_(e, dst, filter_data_)
|
||||
// != edge_filter_choice::keep)
|
||||
// {
|
||||
// cond = bddfalse;
|
||||
// return;
|
||||
// }
|
||||
// }
|
||||
if (filter_)
|
||||
{
|
||||
twa_graph::edge_storage_t e;
|
||||
e.cond = cond;
|
||||
e.acc = m;
|
||||
e.src = src;
|
||||
e.dst = dst;
|
||||
if (filter_(e, dst, filter_data_)
|
||||
!= edge_filter_choice::keep)
|
||||
{
|
||||
cond = bddfalse;
|
||||
return;
|
||||
}
|
||||
}
|
||||
if (scc_of(dst) != scc
|
||||
|| (m & sets)
|
||||
|| (seen[dst] && !cur[dst]))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue