CoinExternalVectorFirstGreater_2

Function operator.

Function operator.

Description

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.

Public Methods

operator()

bool operator()(const CoinPair< S, T > & t1, const CoinPair< S, T > & t2)

Parameters:

CoinExternalVectorFirstGreater_2

 CoinExternalVectorFirstGreater_2(const V * v)

Parameters:

Source

Header: layer-0/CoinUtils/src/CoinSort.hpp