nr_edges() const

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

Returns the number of edges of this.

Exceptions

This function guarantees not to throw a LibsemigroupsException.

Complexity

\(O(mn)\) where m is nr_nodes() and n is out_degree().

Parameters

(None)

Returns

The total number of edges, a value of type size_t.