Stephen helpers

Defined in stephen.hpp.

This page contains the documentation for various helper functions for manipulating Stephen objects. All such functions are contained in the namespace stephen.

Contents

const_iterator_words_accepted

The return type of cbegin_words_accepted and cend_words_accepted.

const_iterator_left_factors

The return type of cbegin_left_factors and cend_left_factors.

accepts

Check if a word is equivalent to Stephen::word.

is_left_factor

Check if a word is a left factor of Stephen::word.

cbegin_words_accepted

Returns an iterator pointing at the first word equivalent to Stephen::word in short-lex order.

cend_words_accepted

Returns an iterator pointing one past the last word equivalent to Stephen::word.

cbegin_left_factors

Returns an iterator pointing at the first word (in short-lex order) that is a left factor of Stephen::word.

cend_left_factors

Returns an iterator pointing one past the last word that is a left factor of Stephen::word.

number_of_words_accepted

Returns the number of words accepted with length in given range.

number_of_left_factors

Returns the number of left factors with length in given range.

Full API

Warning

doxygennamespace: Cannot find namespace “libsemigroups::stephen” in doxygen xml output for project “libsemigroups” from directory: ../build/xml