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