add_to_out_degree¶
-
void
libsemigroups::ActionDigraph::add_to_out_degree(size_t nr)¶ Adds
nrto the out-degree ofthis.- Return
(None)
- Exceptions
This function guarantees not to throw a LibsemigroupsException. If an exception is thrown,
thisis guaranteed not to be modified (strong exception guarantee).- Complexity
\(O(mn)\) where
mis the number of nodes, andnis the new out degree of the digraph.- Iterator validity
This function modifies the object defined by
this, any iterators, pointers or references pointing intothismay be invalidated by a call to this function.- Parameters
nr: the number of new out-edges for every node.