sccinfo: rename scc_info(x,opt) into scc_info_with_options(x,opt)
* spot/twaalgos/sccinfo.hh, python/spot/impl.i: Here. This avoid ambiguities where options (integer in Python) are interpreted as initial states. * tests/python/genem.py: Adjust.
This commit is contained in:
parent
f7e3d58846
commit
2178684528
3 changed files with 14 additions and 4 deletions
|
|
@ -457,8 +457,15 @@ namespace spot
|
|||
/// This is usually used to prevent some edges from being
|
||||
/// considered as part of cycles, and can additionally restrict
|
||||
/// to exploration to some SCC discovered by another SCC.
|
||||
scc_info(scc_and_mark_filter& filt,
|
||||
scc_info_options options = scc_info_options::ALL);
|
||||
scc_info(scc_and_mark_filter& filt, scc_info_options options);
|
||||
// we separate the two functions so that we can rename
|
||||
// scc_info(x,options) into scc_info_with_options(x,options) in Python.
|
||||
// Otherwrise calling scc_info(aut,options) can be confused with
|
||||
// scc_info(aut,initial_state).
|
||||
scc_info(scc_and_mark_filter& filt)
|
||||
: scc_info(filt, scc_info_options::ALL)
|
||||
{
|
||||
}
|
||||
/// @}
|
||||
|
||||
const_twa_graph_ptr get_aut() const
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue