validate¶
-
bool
libsemigroups::ActionDigraph::validate() const noexcept¶ Check every node has exactly out_degree() out-edges.
- Return
A
bool.- Exceptions
This function is
noexceptand is guaranteed never to throw.- Complexity
\(O(mn)\) where
mis nr_nodes() andnis out_degree().- Parameters
(None)