libsemigroups::Forest::Forest(Forest const&) = default

Default copy constructor.

libsemigroups::Forest::Forest(Forest&&) = default

Default move constructor.

inline explicit libsemigroups::Forest::Forest(size_t n = 0)

Constructs a forest with n nodes.

The Forest is initialised so that the parent() and label() of every node is UNDEFINED.


n – the number of nodes, defaults to 0.

Forest &libsemigroups::Forest::operator=(Forest const&) = default

Default copy assignment constructor.

Forest &libsemigroups::Forest::operator=(Forest&&) = default

Default move assignment constructor.