cbegin_scc_roots

const_iterator_scc_roots libsemigroups::ActionDigraph::cbegin_scc_roots() const

Returns an iterator pointing to the root of the first scc.

Return

A ActionDigraph::const_iterator_scc_roots.

Complexity

At most \(O(mn)\) where m is nr_nodes() and n is out_degree().

Parameters

(None)

Exceptions