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
|
|
@ -653,6 +653,9 @@ def state_is_accepting(self, src) -> "bool":
|
|||
}
|
||||
%noexception spot::scc_info::edges_of;
|
||||
%noexception spot::scc_info::inner_edges_of;
|
||||
%rename(scc_info_with_options) spot::scc_info::scc_info(const_twa_graph_ptr aut, scc_info_options options);
|
||||
%rename(scc_info_with_options) spot::scc_info::scc_info(scc_and_mark_filter& filt, scc_info_options options);
|
||||
|
||||
%include <spot/twaalgos/sccinfo.hh>
|
||||
%template(scc_info_scc_edges) spot::internal::scc_edges<spot::digraph<spot::twa_graph_state, spot::twa_graph_edge_data> const, spot::internal::keep_all>;
|
||||
%template(scc_info_inner_scc_edges) spot::internal::scc_edges<spot::digraph<spot::twa_graph_state, spot::twa_graph_edge_data> const, spot::internal::keep_inner_scc>;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue