Operators¶
This page contains information about the operators for the DynamicPTransf class.
-
inline bool libsemigroups::DynamicPTransf::operator!=(PTransfBase const &that) const¶
Compare for inequality.
Returns
trueif*thisdoes not equalthatby comparing the image values of*thisandthat.- Complexity
At worst linear in degree().
- Parameters:
that – the partial transformation for comparison.
- Throws:
(None) – This function guarantees not to throw a libsemigroups::LibsemigroupsException.
- Returns:
A value of type
bool.
-
inline TSubclass libsemigroups::DynamicPTransf::operator*(TSubclass const &that) const¶
Multiply by another partial transformation.
Returns a newly constructed partial transformation holding the product of
*thisandthat.- Complexity
Linear in degree().
- Template Parameters:
TSubclass – A class derived from libsemigroups::PTransfPolymorphicBase.
- Parameters:
that – a partial transformation.
- Throws:
(None) – This function guarantees not to throw a libsemigroups::LibsemigroupsException.
- Returns:
A value of type
TSubclass
-
inline bool libsemigroups::DynamicPTransf::operator<(PTransfBase const &that) const¶
Compare for less.
Returns
trueif*thisis less thanthatby comparing the image values of*thisandthat.- Complexity
At worst linear in degree().
- Parameters:
that – the partial transformation for comparison.
- Throws:
(None) – This function guarantees not to throw a libsemigroups::LibsemigroupsException.
- Returns:
A value of type
bool.
-
inline bool libsemigroups::DynamicPTransf::operator<=(PTransfBase const &that) const¶
Compare for less than or equal.
Returns
trueif*thisis less than or equal tothatby comparing the image values of*thisandthat.- Complexity
At worst linear in degree().
- Parameters:
that – the partial transformation for comparison.
- Throws:
(None) – This function guarantees not to throw a libsemigroups::LibsemigroupsException.
- Returns:
A value of type
bool.
-
inline bool libsemigroups::DynamicPTransf::operator==(PTransfBase const &that) const¶
Compare for equality.
Returns
trueif*thisequalsthatby comparing the image values of*thisandthat.- Complexity
At worst linear in degree().
- Parameters:
that – the partial transformation for comparison.
- Throws:
(None) – This function guarantees not to throw a libsemigroups::LibsemigroupsException.
- Returns:
A value of type
bool.
-
inline bool libsemigroups::DynamicPTransf::operator>(PTransfBase const &that) const¶
Compare for greater.
Returns
trueif*thisis greater thanthatby comparing the image values of*thisandthat.- Complexity
At worst linear in degree().
- Parameters:
that – the partial transformation for comparison.
- Throws:
(None) – This function guarantees not to throw a libsemigroups::LibsemigroupsException.
- Returns:
A value of type
bool.
-
inline bool libsemigroups::DynamicPTransf::operator>=(PTransfBase const &that) const¶
Compare for greater than or equal.
Returns
trueif*thisis greater than or equal tothatby comparing the image values of*thisandthat.- Complexity
At worst linear in degree().
- Parameters:
that – the partial transformation for comparison.
- Throws:
(None) – This function guarantees not to throw a libsemigroups::LibsemigroupsException.
- Returns:
A value of type
bool.