CoinExternalVectorFirstLess_3

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 CoinTriple< S, T, U > & t1, const CoinTriple< S, T, U > & t2)

Parameters:

CoinExternalVectorFirstLess_3

 CoinExternalVectorFirstLess_3(const V * v)

Parameters:

Source

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