ALP User Documentation 0.7.0
Algebraic Programming User Documentation
|
The argmax operator on key-value pairs. More...
#include <ops.hpp>
Inherits Operator< internal::argmax< IType, VType > >.
The argmax operator on key-value pairs.
IType | The key type. |
VType | The value type. |
This operator is only defined for key-value pairs encapsulated in the STL standard std::pair
. The return type equals that of the key type.
This operator returns the key corresponding to the key-value pair whose value evaluates greater than the other.