Generated on Fri Jan 28 2022 04:43:06 for Gecode by doxygen 1.8.13
Gecode::Int::GCC::MaxInc< View > Class Template Reference

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. More...
 
bool operator() (const int i, const int j)
 Order. More...
 

Protected Attributes

ViewArray< View > x
 View array for comparison. More...
 

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: