nr_edges() constΒΆ

size_t libsemigroups::ActionDigraph::nr_edges() const

Returns the number of edges of this.

Return

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

Exceptions

This function guarantees not to throw a LibsemigroupsException.

Complexity

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

Parameters

(None)