Setup problem constraints and symmetries
| 407 | static const int u = 2; |
| 408 | /// Setup problem constraints and symmetries |
| 409 | static void setup(Home home, IntVarArray& xs) { |
| 410 | distinct(home, xs); |
| 411 | Symmetries s; |
| 412 | IntVarArgs symvars; |
| 413 | symvars << xs[0]; |
| 414 | s << VariableSymmetry(symvars); |
| 415 | branch(home, xs, INT_VAR_NONE(), INT_VAL_MIN(), s); |
| 416 | } |
| 417 | /// Compute list of expected solutions |
| 418 | static std::vector<IntArgs> expectedSolutions(void) { |
| 419 | static std::vector<IntArgs> expected; |
nothing calls this directly
no test coverage detected