reserve¶
-
void
libsemigroups::ActionDigraph
::
reserve
(T m, T n) const¶ Ensures that
this
has capacity form
nodes each without-edges
, but does not modify nr_nodes() or out_degree().- Return
(None)
- Exceptions
This function guarantees not to throw a LibsemigroupsException.
- Complexity
\(O(mn)\) where
m
is the number of nodes andn
is the out-degree.- 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
m
: the number of nodesn
: the out-degree