Minimal modelling constraints (arithmetic)
[Testing finite domain integers]
Variable Documentation
const int Test::Int::MiniModelArithmetic::v1[7] |
Initial value:
{ Gecode::Int::Limits::min, Gecode::Int::Limits::min+1, -1,0,1, Gecode::Int::Limits::max-1, Gecode::Int::Limits::max }
Definition at line 244 of file mm-arithmetic.cc.
const int Test::Int::MiniModelArithmetic::v2[9] |
Initial value:
{ static_cast<int>(-sqrt(static_cast<double>(-Gecode::Int::Limits::min))), -4,-2,-1,0,1,2,4, static_cast<int>(sqrt(static_cast<double>(Gecode::Int::Limits::max))) }
Definition at line 249 of file mm-arithmetic.cc.
Mult Test::Int::MiniModelArithmetic::mult_max("A", d1) |
Mult Test::Int::MiniModelArithmetic::mult_med("B", d2) |
Mult Test::Int::MiniModelArithmetic::mult_min("C", d3) |
Plus Test::Int::MiniModelArithmetic::plus_max("A", d1) |
Plus Test::Int::MiniModelArithmetic::plus_med("B", d2) |
Plus Test::Int::MiniModelArithmetic::plus_min("C", d3) |
Minus Test::Int::MiniModelArithmetic::minus_max("A", d1) |
Minus Test::Int::MiniModelArithmetic::minus_med("B", d2) |
Minus Test::Int::MiniModelArithmetic::minus_min("C", d3) |
Sqr Test::Int::MiniModelArithmetic::sqr_max("A", d1) |
Sqr Test::Int::MiniModelArithmetic::sqr_med("B", d2) |
Sqr Test::Int::MiniModelArithmetic::sqr_min("C", d3) |
Sqrt Test::Int::MiniModelArithmetic::sqrt_max("A", d1) |
Sqrt Test::Int::MiniModelArithmetic::sqrt_med("B", d2) |
Sqrt Test::Int::MiniModelArithmetic::sqrt_min("C", d3) |
Abs Test::Int::MiniModelArithmetic::abs_bnd_max("A", d1, Gecode::ICL_BND) |
Abs Test::Int::MiniModelArithmetic::abs_bnd_med("B", d2, Gecode::ICL_BND) |
Abs Test::Int::MiniModelArithmetic::abs_bnd_min("C", d3, Gecode::ICL_BND) |
Abs Test::Int::MiniModelArithmetic::abs_dom_max("A", d1, Gecode::ICL_DOM) |
Abs Test::Int::MiniModelArithmetic::abs_dom_med("B", d2, Gecode::ICL_DOM) |
Abs Test::Int::MiniModelArithmetic::abs_dom_min("C", d3, Gecode::ICL_DOM) |
Min Test::Int::MiniModelArithmetic::min_max("A", d1) |
Min Test::Int::MiniModelArithmetic::min_med("B", d2) |
Min Test::Int::MiniModelArithmetic::min_min("C", d3) |
Max Test::Int::MiniModelArithmetic::max_max("A", d1) |
Max Test::Int::MiniModelArithmetic::max_med("B", d2) |
Max Test::Int::MiniModelArithmetic::max_min("C", d3) |
Definition at line 294 of file mm-arithmetic.cc.
Definition at line 295 of file mm-arithmetic.cc.