Constructors

This page contains information about the constructors of the Presentation class template.

libsemigroups::Presentation::Presentation()

Default constructor.

Constructs an empty presentation with no rules and no alphabet.

libsemigroups::Presentation::Presentation(Presentation&&) = default

Default move constructor.

libsemigroups::Presentation::Presentation(Presentation const&) = default

Default copy constructor.

void libsemigroups::Presentation::clear()

Remove the alphabet and all rules.

This function clears the alphabet and all rules from the presentation, putting it back into the state it would be in if it was newly constructed.

Parameters

(None)

Returns

(None)

Presentation &libsemigroups::Presentation::operator=(Presentation&&) = default

Default move assignment operator.

Presentation &libsemigroups::Presentation::operator=(Presentation const&) = default

Default copy assignment operator.