add_rule(rule_type)ΒΆ
-
void
libsemigroups::FpSemigroupInterface
::
add_rule
(rule_type rel) Add a rule.
- Return
(None)
- Complexity
Constant.
- Parameters
rel
: the rule being added.
- Exceptions
LibsemigroupsException
: if any of the following apply:started() returns
true
; orrel.first
orrel.second
contains a letter that is out of bounds.