nr_edges(node_type const) const

inline size_t libsemigroups::ActionDigraph::nr_edges(node_type const n) const

Returns the number of edges leaving a node.

Complexity

\(O(n)\) where n is out_degree().

Parameters

n – the node.

Throws

LibsemigroupsException – if n is not a node.

Returns

A value of type size_t.