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
nis out_degree().- Parameters
n: the node.
- Exceptions
LibsemigroupsException: ifnis not a node.