Tests for minimal modelling constraints (arithmetic) More...
Classes | |
| class | Mult |
| Test for multiplication constraint More... | |
| class | Div |
| Test for division constraint More... | |
| class | Mod |
| Test for division constraint More... | |
| class | Plus |
| Test for addition constraint More... | |
| class | Minus |
| Test for subtraction constraint More... | |
| class | Sqr |
| Test for sqr constraint More... | |
| class | Sqrt |
| Test for sqrt constraint More... | |
| class | Abs |
| Test for absolute value constraint More... | |
| class | Min |
| Test for binary minimum constraint More... | |
| class | Max |
| Test for binary maximum constraint More... | |
| class | MinNary |
| Test for n-ary minimmum constraint More... | |
| class | MaxNary |
| Test for n-ary maximum constraint More... | |
Detailed Description
Tests for minimal modelling constraints (arithmetic)
Variable Documentation
◆ v1
| const int Test::Int::MiniModelArithmetic::v1[7] |
Initial value:
= {
-1,0,1,
}
Definition at line 298 of file mm-arithmetic.cpp.
◆ v2
| const int Test::Int::MiniModelArithmetic::v2[9] |
Initial value:
= {
-4,-2,-1,0,1,2,4,
}
Definition at line 303 of file mm-arithmetic.cpp.
◆ d1
| Gecode::IntSet Test::Int::MiniModelArithmetic::d1(v1, 7) | ( | v1 | , |
| 7 | ) |
◆ d2
| Gecode::IntSet Test::Int::MiniModelArithmetic::d2(v2, 9) | ( | v2 | , |
| 9 | ) |
◆ d3
| Gecode::IntSet Test::Int::MiniModelArithmetic::d3(-8, 8) | ( | - | 8, |
| 8 | ) |
◆ mult_max
◆ mult_med
◆ mult_min
◆ div_max
◆ div_med
◆ div_min
◆ mod_max
◆ mod_med
◆ mod_min
◆ plus_max
◆ plus_med
◆ plus_min
◆ minus_max
◆ minus_med
◆ minus_min
◆ sqr_max
◆ sqr_med
◆ sqr_min
◆ sqrt_max
◆ sqrt_med
◆ sqrt_min
◆ abs_bnd_max
| Abs Test::Int::MiniModelArithmetic::abs_bnd_max("A", d1, Gecode::IPL_BND) | ( | "A" | , |
| d1 | , | ||
| Gecode::IPL_BND | ) |
◆ abs_bnd_med
| Abs Test::Int::MiniModelArithmetic::abs_bnd_med("B", d2, Gecode::IPL_BND) | ( | "B" | , |
| d2 | , | ||
| Gecode::IPL_BND | ) |
◆ abs_bnd_min
| Abs Test::Int::MiniModelArithmetic::abs_bnd_min("C", d3, Gecode::IPL_BND) | ( | "C" | , |
| d3 | , | ||
| Gecode::IPL_BND | ) |
◆ abs_dom_max
| Abs Test::Int::MiniModelArithmetic::abs_dom_max("A", d1, Gecode::IPL_DOM) | ( | "A" | , |
| d1 | , | ||
| Gecode::IPL_DOM | ) |
◆ abs_dom_med
| Abs Test::Int::MiniModelArithmetic::abs_dom_med("B", d2, Gecode::IPL_DOM) | ( | "B" | , |
| d2 | , | ||
| Gecode::IPL_DOM | ) |
◆ abs_dom_min
| Abs Test::Int::MiniModelArithmetic::abs_dom_min("C", d3, Gecode::IPL_DOM) | ( | "C" | , |
| d3 | , | ||
| Gecode::IPL_DOM | ) |
◆ min_max
◆ min_med
◆ min_min
◆ max_max
◆ max_med
◆ max_min
◆ min_nary
| MinNary Test::Int::MiniModelArithmetic::min_nary |
Definition at line 356 of file mm-arithmetic.cpp.
◆ max_nary
| MaxNary Test::Int::MiniModelArithmetic::max_nary |
Definition at line 357 of file mm-arithmetic.cpp.
