CoinUtils trunk
|
Function operator. More...
#include <CoinSort.hpp>
Public Member Functions | |
bool | operator() (const CoinPair< S, T > &t1, const CoinPair< S, T > &t2) const |
CoinExternalVectorFirstGreater_2 (const V *v) |
Function operator.
Compare based on the entries of an external vector, i.e., returns true if vec[t1.first > vec[t2.first] (i.e., decreasing wrt. vec). Note that to use this comparison operator .first must be a data type automatically convertible to int.
Definition at line 120 of file CoinSort.hpp.
CoinExternalVectorFirstGreater_2< S, T, V >::CoinExternalVectorFirstGreater_2 | ( | const V * | v | ) | [inline] |
Definition at line 129 of file CoinSort.hpp.
bool CoinExternalVectorFirstGreater_2< S, T, V >::operator() | ( | const CoinPair< S, T > & | t1, |
const CoinPair< S, T > & | t2 | ||
) | const [inline] |
Definition at line 126 of file CoinSort.hpp.