ALP User Documentation  0.8.preview
Algebraic Programming User Documentation
List of all members
argmin< IType, VType > Class Template Reference

The argmin operator on key-value pairs. More...

Inherits Operator< internal::argmin< IType, VType > >.

Detailed Description

template<typename IType, typename VType>
class grb::operators::argmin< IType, VType >

The argmin operator on key-value pairs.

Template Parameters
ITypeThe key type.
VTypeThe 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 less than the other.

Warning
If both values are equal, any key may be returned.
See also
argmax
equal_first

The documentation for this class was generated from the following file: