Iterators¶
-
inline std::vector<size_t>::const_iterator libsemigroups::Forest::cbegin_parent() const noexcept¶
Returns an iterator pointing to the parent of the first node.
- Complexity
Constant.
- Parameters
(None)
- Throws
(None) – This function is
noexcept
and is guaranteed never to throw.- Returns
A std::vector<node_type>::const_iterator.
-
inline std::vector<size_t>::const_iterator libsemigroups::Forest::cend_parent() const noexcept¶
Returns an iterator pointing one-past the parent of the last node.
- Complexity
Constant.
- Parameters
(None)
- Throws
(None) – This function is
noexcept
and is guaranteed never to throw.- Returns
A std::vector<node_type>::const_iterator.