word_to_string

std::string libsemigroups::fpsemigroup::KnuthBendix::word_to_string(word_type const &w) const

Convert a libsemigroups::word_type to a std::string representing the same element of the finitely presented semigroup represented by this.

Return

a std::string.

Complexity.

\(O(n)\) where \(n\) is the length of w.

Parameters
Exceptions