parent¶
-
node_type
libsemigroups::Forest::parent(node_type i) const¶ Returns the parent of a node.
- Return
- Complexity
Constant
- Parameters
i: the node whose parent is sought.
- Exceptions
LibsemigroupsException: ifiexceedsnr_nodes().
libsemigroups::Forest::parent(node_type i) const¶Returns the parent of a node.
Constant
i: the node whose parent is sought.
LibsemigroupsException: if i exceeds nr_nodes().