MCPcopy Create free account
hub / github.com/Gecode/gecode / expectedSolutions

Method expectedSolutions

test/ldsb.cpp:418–428  ·  view source on GitHub ↗

Compute list of expected solutions

Source from the content-addressed store, hash-verified

416 }
417 /// Compute list of expected solutions
418 static std::vector<IntArgs> expectedSolutions(void) {
419 static std::vector<IntArgs> expected;
420 expected.clear();
421 expected.push_back(IntArgs({0,1,2}));
422 expected.push_back(IntArgs({0,2,1}));
423 expected.push_back(IntArgs({1,0,2}));
424 expected.push_back(IntArgs({1,2,0}));
425 expected.push_back(IntArgs({2,0,1}));
426 expected.push_back(IntArgs({2,1,0}));
427 return expected;
428 }
429 };
430
431 /// %Test for variable symmetry

Callers

nothing calls this directly

Calls 2

IntArgsClass · 0.50
clearMethod · 0.45

Tested by

no test coverage detected