Use clearer names for three methods of spot::scc_info
scc_info::used_acc() and spot::info::used_acc_of() have been renamed to scc_info::marks() and scc_info::marks_of(). scc_info::acc() has been renamed to (the already existing and redundant) scc_info::acc_sets_of(). Old names have been deprecated. * spot/twaalgos/sccinfo.hh, spot/twaalgos/sccinfo.cc: implement it. * spot/twaalgos/dtwasat.cc, spot/twaalgos/isweakscc.cc, spot/twaalgos/remfin.cc, spot/twaalgos/sccfilter.cc: update names. * NEWS: documentate it.
This commit is contained in:
parent
7eb50bc1f8
commit
bd5c6920b1
7 changed files with 56 additions and 27 deletions
|
|
@ -309,7 +309,7 @@ namespace spot
|
|||
// The main copy is only accepting for inf_alone
|
||||
// and for all Inf sets that have no matching Fin
|
||||
// sets in this SCC.
|
||||
auto scc_pairs = rs_pairs_view(pairs, si.acc(scc));
|
||||
auto scc_pairs = rs_pairs_view(pairs, si.acc_sets_of(scc));
|
||||
auto scc_infs_alone = scc_pairs.infs_alone();
|
||||
|
||||
for (const auto& e: si.edges_of(scc))
|
||||
|
|
@ -676,7 +676,7 @@ namespace spot
|
|||
std::vector<unsigned> state_map(nst);
|
||||
for (unsigned n = 0; n < nscc; ++n)
|
||||
{
|
||||
auto m = si.acc(n);
|
||||
auto m = si.acc_sets_of(n);
|
||||
auto states = si.states_of(n);
|
||||
trace << "SCC #" << n << " uses " << m << '\n';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue