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 the i th block of this is a transverse block; and false otherwise.

Complexity

Constant.

Parameters

(None)

Throws

(None) – This function is noexcept and is guaranteed never to throw.

Returns

A lookup_const_iterator.

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

cbegin_lookup.

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.