Generated on for Gecode by doxygen 1.17.0
Gecode::Int::Sorted::TupleMaxInc< View > Class Template Reference

Index comparison for ViewArray<Tuple>. More...

#include <gecode/int/sorted/sortsup.hpp>

Public Member Functions

 TupleMaxInc (const ViewArray< View > &x0)
bool operator() (const int i, const int j)

Protected Attributes

ViewArray< Viewx

Detailed Description

template<class View>
class Gecode::Int::Sorted::TupleMaxInc< View >

Index comparison for ViewArray<Tuple>.

Checks whether for two indices i and j the first component of the corresponding viewtuples \(x_i\) and \(x_j\) the upper domain bound of \(x_j\) is larger than the upper domain bound of \(x_i\)

Definition at line 266 of file sortsup.hpp.

Constructor & Destructor Documentation

◆ TupleMaxInc()

template<class View>
Gecode::Int::Sorted::TupleMaxInc< View >::TupleMaxInc ( const ViewArray< View > & x0)
inline

Definition at line 270 of file sortsup.hpp.

Member Function Documentation

◆ operator()()

template<class View>
bool Gecode::Int::Sorted::TupleMaxInc< View >::operator() ( const int i,
const int j )
inline

Definition at line 271 of file sortsup.hpp.

Member Data Documentation

◆ x

template<class View>
ViewArray<View> Gecode::Int::Sorted::TupleMaxInc< View >::x
protected

Definition at line 268 of file sortsup.hpp.


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