CoinExternalVectorFirstGreater_3< S, T, U, V > Class Template Reference

Function operator. More...

#include <CoinSort.hpp>

List of all members.

Public Member Functions

bool operator() (const CoinTriple< S, T, U > &t1, const CoinTriple< S, T, U > &t2) const
 CoinExternalVectorFirstGreater_3 (const V *v)

Private Member Functions

 CoinExternalVectorFirstGreater_3 ()

Private Attributes

const V * vec_

Detailed Description

template<class S, class T, class U, class V>
class CoinExternalVectorFirstGreater_3< S, T, U, V >

Function operator.

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.

Definition at line 443 of file CoinSort.hpp.


Constructor & Destructor Documentation

template<class S , class T , class U , class V >
CoinExternalVectorFirstGreater_3< S, T, U, V >::CoinExternalVectorFirstGreater_3 (  )  [private]
template<class S , class T , class U , class V >
CoinExternalVectorFirstGreater_3< S, T, U, V >::CoinExternalVectorFirstGreater_3 ( const V *  v  )  [inline]

Definition at line 452 of file CoinSort.hpp.


Member Function Documentation

template<class S , class T , class U , class V >
bool CoinExternalVectorFirstGreater_3< S, T, U, V >::operator() ( const CoinTriple< S, T, U > &  t1,
const CoinTriple< S, T, U > &  t2 
) const [inline]

Definition at line 449 of file CoinSort.hpp.


Member Data Documentation

template<class S , class T , class U , class V >
const V* CoinExternalVectorFirstGreater_3< S, T, U, V >::vec_ [private]

Definition at line 447 of file CoinSort.hpp.


The documentation for this class was generated from the following file:

Generated on 15 Mar 2015 for Coin-All by  doxygen 1.6.1