Miscellanea

This page contains information about member functions of the FpSemigroupInterface class that doesn’t fall into any of the other categories.

std::string libsemigroups::FpSemigroupInterface::to_gap_string()

Returns a string containing GAP commands for defining a finitely presented semigroup.

Complexity

\(O(m + n)\) where \(m\) is alphabet().size() and \(n\) is number_of_rules().

Parameters

(None)

Throws

(None) – This function guarantees not to throw a LibsemigroupsException.

Returns

A std::string.