Setup problem constraints and symmetries
| 439 | static const int u = 3; |
| 440 | /// Setup problem constraints and symmetries |
| 441 | static void setup(Home home, IntVarArray& xs) { |
| 442 | distinct(home, xs); |
| 443 | Matrix<IntVarArray> m(xs, 4, 1); |
| 444 | Symmetries s; |
| 445 | s << VariableSymmetry(m.slice(0,2, 0,1)); |
| 446 | s << VariableSymmetry(m.slice(2,4, 0,1)); |
| 447 | branch(home, xs, INT_VAR_NONE(), INT_VAL_MIN(), s); |
| 448 | } |
| 449 | /// Compute list of expected solutions |
| 450 | static std::vector<IntArgs> expectedSolutions(void) { |
| 451 | static std::vector<IntArgs> expected; |
nothing calls this directly
no test coverage detected