label¶
-
inline label_type libsemigroups::Forest::label(node_type i) const¶
Returns the label of the edge from a node to its parent.
- Complexity
Constant
- Parameters
i – the node whose label is sought.
- Throws
LibsemigroupsException – if
i
exceedsnr_nodes()
.- Returns