nr_edges(node_type const) constΒΆ
-
size_t
libsemigroups::ActionDigraph
::
nr_edges
(node_type const n) const Returns the number of edges leaving a node.
- Return
A value of type
size_t
.- Complexity
\(O(n)\) where
n
is out_degree().- Parameters
n
: the node.
- Exceptions
LibsemigroupsException
: ifn
is not a node.