1 #ifndef CYCLUS_SRC_CYC_STD_H_ 2 #define CYCLUS_SRC_CYC_STD_H_ 11 template<
class T>
struct SecondLT : std::binary_function<T, T, bool> {
13 return x.second < y.second;
19 template <
typename Map>
21 return lhs.size() == rhs.size()
22 && std::equal(lhs.begin(), lhs.end(), rhs.begin());
27 #endif // CYCLUS_SRC_CYC_STD_H_ a less-than comparison for pairs
bool operator()(const T &x, const T &y) const
bool map_compare(Map const &lhs, Map const &rhs)
taken directly from OsiSolverInterface.cpp on 2/17/14 from https://projects.coin-or.org/Osi/browser/trunk.