reserve¶
-
inline void libsemigroups::ActionDigraph::reserve(T m, T n) const¶
Ensures that
thishas capacity formnodes each without-edges, but does not modify nr_nodes() or out_degree().- Exceptions
This function guarantees not to throw a LibsemigroupsException.
- Complexity
\(O(mn)\) where
mis the number of nodes andnis the out-degree.- 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
m – the number of nodes
n – the out-degree
- Returns
(None)