Setup problem constraints and symmetries
| 1426 | static const int u = 4; |
| 1427 | /// Setup problem constraints and symmetries |
| 1428 | static void setup(Home home, SetVarArray& xs) { |
| 1429 | Symmetries syms; |
| 1430 | syms << ValueSymmetry(IntArgs({1,2,3,4})); |
| 1431 | for (int i = 0 ; i < 3 ; i++) |
| 1432 | cardinality(home, xs[i], 1, 1); |
| 1433 | branch(home, xs, SET_VAR_NONE(), SET_VAL_MIN_INC(), syms); |
| 1434 | } |
| 1435 | /// Compute list of expected solutions |
| 1436 | static std::vector<IntSetArgs> expectedSolutions(void) { |
| 1437 | static std::vector<IntSetArgs> expected; |
nothing calls this directly
no test coverage detected