nr_nodes

size_t libsemigroups::Forest::nr_nodes() const noexcept

Returns the number of nodes in the forest.

Return

A size_t.

Exceptions

This function is noexcept and is guaranteed never to throw.

Complexity

Constant

Parameters

(None)