|
ADS
Algorithms and Data Structures
|
the selective commutative monoid of the least value of T, of identity \( +\infty \) if T has it, its largest value otherwise More...
#include <ADS/Algebra.h>
Public types | |
| using | Value = T |
| the minima | |
Static public member functions | |
| static constexpr Value | identity (void) |
| the largest value of the type | |
| static constexpr Value | combine (const Value &a, const Value &b) |
| \( \min( a , b ) \), \( a \) if they are equivalent | |
Static public attributes | |
| static constexpr bool | commutative = true |
| it commutes | |
| static constexpr bool | selective = true |
| one of the two | |
the selective commutative monoid of the least value of T, of identity \( +\infty \) if T has it, its largest value otherwise
| using ADS::MinOf< T >::Value = T |
the minima
|
inlinestaticconstexpr |
\( \min( a , b ) \), \( a \) if they are equivalent
|
inlinestaticconstexpr |
the largest value of the type
|
staticconstexpr |
it commutes
|
staticconstexpr |
one of the two