parent_fpsemigroup

std::shared_ptr<FpSemigroupInterface> libsemigroups::CongruenceInterface::parent_fpsemigroup() const

Returns a shared_ptr to the parent FpSemigroupInterface object over which the congruence represented by this object was defined, if it exists.

Return

A std::shared_ptr to an FpSemigroupInterface.

Complexity

Constant.

Parameters

(None)

Exceptions