Function operator. More...
#include <CoinSort.hpp>
Public Member Functions | |
bool | operator() (const CoinPair< S, T > &t1, const CoinPair< S, T > &t2) const |
CoinExternalVectorFirstLess_2 (const V *v) | |
Private Member Functions | |
CoinExternalVectorFirstLess_2 () | |
Private Attributes | |
const V * | vec_ |
Function operator.
Compare based on the entries of an external vector, i.e., returns true if vec[t1.first < vec[t2.first] (i.e., increasing wrt. vec). Note that to use this comparison operator .first must be a data type automatically convertible to int.
Definition at line 93 of file CoinSort.hpp.
CoinExternalVectorFirstLess_2< S, T, V >::CoinExternalVectorFirstLess_2 | ( | ) | [private] |
CoinExternalVectorFirstLess_2< S, T, V >::CoinExternalVectorFirstLess_2 | ( | const V * | v | ) | [inline] |
Definition at line 102 of file CoinSort.hpp.
bool CoinExternalVectorFirstLess_2< S, T, V >::operator() | ( | const CoinPair< S, T > & | t1, | |
const CoinPair< S, T > & | t2 | |||
) | const [inline] |
Definition at line 99 of file CoinSort.hpp.
const V* CoinExternalVectorFirstLess_2< S, T, V >::vec_ [private] |
Definition at line 97 of file CoinSort.hpp.