add_nodes¶
-
void
libsemigroups::ActionDigraph::add_nodes(size_t nr)¶ Adds
nrnodes tothis.- 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
Linear in
nr_nodes() + nr.- 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 nodes to add.