compsusp: Use new implem of scc_filter to remove suspended variables
* src/tgbaalgos/sccfilter.cc, src/tgbaalgos/sccfilter.hh: Rewrite all composable filters in a way that allow arguments to be passed. (scc_filter_susp): New function. * src/tgbaalgos/sccinfo.cc, src/tgbaalgos/sccinfo.hh (scc_ap_support): New method. * src/tgbaalgos/compsusp.cc: Adjust to use tgba_digraph, and call the new scc_filter_susp().
This commit is contained in:
parent
1244b61710
commit
637aeff2d3
5 changed files with 207 additions and 238 deletions
|
|
@ -249,6 +249,15 @@ namespace spot
|
|||
return result;
|
||||
}
|
||||
|
||||
bdd scc_info::scc_ap_support(unsigned scc) const
|
||||
{
|
||||
bdd support = bddtrue;
|
||||
for (auto s: states_of(scc))
|
||||
for (auto& t: aut_->out(s))
|
||||
support &= bdd_support(t.cond);
|
||||
return support;
|
||||
}
|
||||
|
||||
std::ostream&
|
||||
dump_scc_info_dot(std::ostream& out,
|
||||
const tgba_digraph* aut, scc_info* sccinfo)
|
||||
|
|
@ -307,5 +316,4 @@ namespace spot
|
|||
return out;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue