CoinUtils trunk
Public Member Functions
CoinExternalVectorFirstGreater_3< S, T, U, V > Class Template Reference

Function operator. More...

#include <CoinSort.hpp>

Collaboration diagram for CoinExternalVectorFirstGreater_3< S, T, U, V >:

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)

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 452 of file CoinSort.hpp.


Constructor & Destructor Documentation

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

Definition at line 461 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 458 of file CoinSort.hpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines