Iterators¶
This page contains information about iterators for the Bipartition
class.
-
inline const_iterator libsemigroups::Bipartition::cbegin() const noexcept¶
Returns a const iterator pointing to the index of the first block.
- Complexity
Constant.
- Parameters
(None)
- Throws
(None) – This function is
noexcept
and is guaranteed never to throw.- Returns
A value of type const_iterator.
-
inline const_iterator libsemigroups::Bipartition::cbegin_left_blocks() const noexcept¶
Returns a const iterator pointing to the index of the first left block.
- Complexity
Constant.
- Parameters
(None)
- Throws
(None) – This function is
noexcept
and is guaranteed never to throw.- Returns
A value of type const_iterator.
-
inline lookup_const_iterator libsemigroups::Bipartition::cbegin_lookup() noexcept¶
Returns a const iterator pointing to the first transverse block lookup.
The value pointed to is
true
if thei
th block ofthis
is a transverse block; andfalse
otherwise.- Complexity
Constant.
- Parameters
(None)
- Throws
(None) – This function is
noexcept
and is guaranteed never to throw.- Returns
-
inline const_iterator libsemigroups::Bipartition::cbegin_right_blocks() const noexcept¶
Returns a const iterator pointing to the index of the first right block.
- Complexity
Constant.
- Parameters
(None)
- Throws
(None) – This function is
noexcept
and is guaranteed never to throw.- Returns
A value of type const_iterator.
-
inline const_iterator libsemigroups::Bipartition::cend() const noexcept¶
Returns a const iterator pointing one passed the last index of the last block.
- Complexity
Constant.
- Parameters
(None)
- Throws
(None) – This function is
noexcept
and is guaranteed never to throw.- Returns
A value of type const_iterator.
-
inline const_iterator libsemigroups::Bipartition::cend_left_blocks() const noexcept¶
Returns a const iterator pointing one passed the last index of the last left block.
- Complexity
Constant.
- Parameters
(None)
- Throws
(None) – This function is
noexcept
and is guaranteed never to throw.- Returns
A value of type const_iterator.
-
inline lookup_const_iterator libsemigroups::Bipartition::cend_lookup() noexcept¶
Returns a const iterator pointing to the first transverse block lookup.
See also
-
inline const_iterator libsemigroups::Bipartition::cend_right_blocks() const noexcept¶
Returns a const iterator pointing one passed the last index of the last right block.
- Complexity
Constant.
- Parameters
(None)
- Throws
(None) – This function is
noexcept
and is guaranteed never to throw.- Returns
A value of type const_iterator.