immutable(bool)ΒΆ

FroidurePinBase &libsemigroups::FroidurePinBase::immutable(bool val)

Prevent further changes to the mathematical semigroup represented by an instance of FroidurePinBase.

This member function prevents certain member functions from being applied to a FroidurePinBase, such as add_generators, if they would change the mathematical object represented by this.

The default value is false.

Return

A reference to this.

Exceptions

This function is noexcept and is guaranteed never to throw.

Complexity

Constant.

See

immutable().

Parameters
  • val: the new threshold.