Generated on Fri Oct 19 11:25:22 2018 for Gecode by doxygen 1.6.3

div.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  Gecode
 

Gecode toplevel namespace


namespace  Gecode::Int
 

Finite domain integers.


Functions

template<class IntType >
IntType Gecode::Int::ceil_div_pp (IntType x, IntType y)
 Compute $\lceil x/y\rceil$ where x and y are non-negative.
template<class IntType >
IntType Gecode::Int::floor_div_pp (IntType x, IntType y)
 Compute $\lfloor x/y\rfloor$ where x and y are non-negative.
template<class IntType >
IntType Gecode::Int::ceil_div_px (IntType x, IntType y)
 Compute $\lceil x/y\rceil$ where x is non-negative.
template<class IntType >
IntType Gecode::Int::floor_div_px (IntType x, IntType y)
 Compute $\lfloor x/y\rfloor$ where x is non-negative.
template<class IntType >
IntType Gecode::Int::ceil_div_xp (IntType x, IntType y)
 Compute $\lceil x/y\rceil$ where y is non-negative.
template<class IntType >
IntType Gecode::Int::floor_div_xp (IntType x, IntType y)
 Compute $\lfloor x/y\rfloor$ where y is non-negative.
template<class IntType >
IntType Gecode::Int::ceil_div_xx (IntType x, IntType y)
 Compute $\lceil x/y\rceil$.
template<class IntType >
IntType Gecode::Int::floor_div_xx (IntType x, IntType y)
 Compute $\lfloor x/y\rfloor$.