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.
- Complexity
Constant.
- Parameters
(None)
- Throws
LibsemigroupsException – if
this
was not created using a FpSemigroupInterface instance.- Returns
A std::shared_ptr to an FpSemigroupInterface.