Vcsn
2.0
Be Rational
|
Use Kosajaju algorithm for finding all of strongly connected components. More...
#include <scc.hh>
Public Types | |
using | state_t = state_t_of< Aut > |
using | component_t = detail::component_t< Aut > |
using | components_t = detail::components_t< Aut > |
Public Member Functions | |
scc_kosaraju_impl (const Aut &aut) | |
const components_t | components () |
Private Member Functions | |
void | dfs (state_t s, const Aut &aut) |
Private Attributes | |
std::size_t | num_ = 0 |
The current component number. More... | |
components_t | components_ |
std::set< state_t > | marked_ |
Use Kosajaju algorithm for finding all of strongly connected components.
using vcsn::detail::scc_kosaraju_impl< Aut >::component_t = detail::component_t<Aut> |
using vcsn::detail::scc_kosaraju_impl< Aut >::components_t = detail::components_t<Aut> |
using vcsn::detail::scc_kosaraju_impl< Aut >::state_t = state_t_of<Aut> |
|
inline |
Definition at line 175 of file scc.hh.
References vcsn::detail::scc_kosaraju_impl< Aut >::dfs(), vcsn::has(), vcsn::detail::scc_kosaraju_impl< Aut >::marked_, vcsn::detail::scc_kosaraju_impl< Aut >::num_, vcsn::reverse_postorder(), and vcsn::transpose().
|
inline |
Definition at line 191 of file scc.hh.
References vcsn::detail::scc_kosaraju_impl< Aut >::components_.
Referenced by vcsn::scc().
|
inlineprivate |
Definition at line 197 of file scc.hh.
References vcsn::detail::scc_kosaraju_impl< Aut >::components_, vcsn::has(), vcsn::detail::scc_kosaraju_impl< Aut >::marked_, and vcsn::detail::scc_kosaraju_impl< Aut >::num_.
Referenced by vcsn::detail::scc_kosaraju_impl< Aut >::scc_kosaraju_impl().
|
private |
Definition at line 215 of file scc.hh.
Referenced by vcsn::detail::scc_kosaraju_impl< Aut >::components(), and vcsn::detail::scc_kosaraju_impl< Aut >::dfs().
|
private |
Definition at line 216 of file scc.hh.
Referenced by vcsn::detail::scc_kosaraju_impl< Aut >::dfs(), and vcsn::detail::scc_kosaraju_impl< Aut >::scc_kosaraju_impl().
|
private |
The current component number.
Definition at line 214 of file scc.hh.
Referenced by vcsn::detail::scc_kosaraju_impl< Aut >::dfs(), and vcsn::detail::scc_kosaraju_impl< Aut >::scc_kosaraju_impl().