Constructor¶
This page contains information about the constructors of the Stephen
class.
-
libsemigroups::Stephen::Stephen()¶
Default constructor.
Default constructs an empty instance, use init and set_word to specify the presentation and the word, respectively.
-
template<typename P, typename = std::enable_if_t<std::is_base_of<PresentationBase, std::decay_t<P>>::value>>
explicit libsemigroups::Stephen::Stephen(P &&p)¶ Construct from a presentation.
Construct an instance for the presentation
p
.- Template Parameters
P – a type derived from PresentationBase
- Parameters
p – the presentation.
- Throws
LibsemigroupsException – if
p.validate()
throws.LibsemigroupsException – if
p.alphabet().size()
is0
.