![]() |
libsemigroups
v3.0.0
C++ library for semigroups and monoids
|
Defined in adapters.hpp
.
This type should be default constructible and a call operator of signature size_t operator()(Element const&)
if no additional data is required to compute the rank, or a call operator of signature size_t operator()(State<Element> const&, Element const&)
if additional data is required.
The call operator should return the rank of the element given as argument. This must satisfy the following properties:
Element | the type of elements. |
State | the type of the data required to compute ranks of Elements; defaults to RankState<Element> . |
The third template parameter exists for SFINAE.