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