Constructors¶
-
inline explicit libsemigroups::Forest::Forest(size_t n = 0)¶
Constructs a forest with
nnodes.The Forest is initialised so that the parent() and label() of every node is UNDEFINED.
- Parameters:
n – the number of nodes, defaults to
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.