Setup problem constraints and symmetries
| 1078 | static const int u = 3; |
| 1079 | /// Setup problem constraints and symmetries |
| 1080 | static void setup(Home home, IntVarArray& xs) { |
| 1081 | distinct(home, xs); |
| 1082 | Symmetries s; |
| 1083 | IntArgs indices0({0,1}); |
| 1084 | IntArgs indices1({2,3}); |
| 1085 | s << ValueSymmetry(indices0); |
| 1086 | s << ValueSymmetry(indices1); |
| 1087 | branch(home, xs, INT_VAR_NONE(), INT_VAL_MIN(), s); |
| 1088 | } |
| 1089 | /// Compute list of expected solutions |
| 1090 | static std::vector<IntArgs> expectedSolutions(void) { |
| 1091 | static std::vector<IntArgs> expected; |
nothing calls this directly
no test coverage detected