Generated on Tue Feb 11 2025 17:33:26 for Gecode by doxygen 1.12.0

Compares two indices i, j of two views $ x_i $ $ x_j$ according to the ascending order of the views upper bounds. More...

#include <bnd-sup.hpp>

Public Member Functions

 MaxInc (const ViewArray< View > &x0)
 Constructor.
 
bool operator() (const int i, const int j)
 Order.
 

Protected Attributes

ViewArray< View > x
 View array for comparison.
 

Detailed Description

template<class View>
class Gecode::Int::GCC::MaxInc< View >

Compares two indices i, j of two views $ x_i $ $ x_j$ according to the ascending order of the views upper bounds.

Definition at line 176 of file bnd-sup.hpp.

Constructor & Destructor Documentation

◆ MaxInc()

template<class View >
Gecode::Int::GCC::MaxInc< View >::MaxInc ( const ViewArray< View > & x0)
inline

Constructor.

Definition at line 182 of file bnd-sup.hpp.

Member Function Documentation

◆ operator()()

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

Order.

Definition at line 185 of file bnd-sup.hpp.

Member Data Documentation

◆ x

template<class View >
ViewArray<View> Gecode::Int::GCC::MaxInc< View >::x
protected

View array for comparison.

Definition at line 179 of file bnd-sup.hpp.


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