Generated on Wed Nov 5 2014 05:18:33 for Gecode by doxygen 1.7.6.1
div.hpp File Reference

(Revision: 13315)

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$.