Constructors¶
This page contains information about the constructors for the ActionDigraph
class.
-
libsemigroups::ActionDigraph::ActionDigraph(ActionDigraph const&)¶
Default copy constructor.
-
libsemigroups::ActionDigraph::ActionDigraph(ActionDigraph&&)¶
Default move constructor.
-
explicit libsemigroups::ActionDigraph::ActionDigraph(T m = 0, T n = 0)¶
Construct from number of nodes and out degree.
- Complexity
\(O(mn)\) where
m
is the number of nodes, andn
is the out-degree of the digraph.
- Parameters
m – the number of nodes in the digraph (default: 0).
n – the out-degree of every node (default: 0).
- Throws
(None) – This function guarantees not to throw a
LibsemigroupsException
.
-
ActionDigraph &libsemigroups::ActionDigraph::operator=(ActionDigraph const&)¶
Default copy assignment constructor.
-
ActionDigraph &libsemigroups::ActionDigraph::operator=(ActionDigraph&&)¶
Default move assignment constructor.