CoinExternalVectorFirstLess_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., increasing 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:

CoinExternalVectorFirstLess_2

 CoinExternalVectorFirstLess_2(const V * v)

Parameters:

Source

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