Defined in order.hpp
.
A stateless struct with binary call operator using shortlex_compare.
This only exists to be used as a template parameter, and has no advantages over using shortlex_compare otherwise.
- See also
- shortlex_compare(T const, T const, S const, S const)
◆ operator()()
template<typename T>
bool operator() |
( |
T const & | x, |
|
|
T const & | y ) const |
|
inline |
Call operator that compares x
and y
using shortlex_compare.
- Template Parameters
-
T | the type of the objects to be compared. |
- Parameters
-
x | const reference to the first object for comparison. |
y | const reference to the second object for comparison. |
- Returns
- The boolean value
true
if x
is short-lex less than y
, and false
otherwise.
- Exceptions
- See shortlex_compare(T const, T const, S const, S const).
- Complexity
- See shortlex_compare(T const, T const, S const, S const).
The documentation for this struct was generated from the following file:
- /home/joseph/Dev/Comp_Maths/testing/libsemigroups/include/libsemigroups/order.hpp