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

Method expectedSolutions

test/ldsb.cpp:1395–1415  ·  view source on GitHub ↗

Compute list of expected solutions

Source from the content-addressed store, hash-verified

1393 }
1394 /// Compute list of expected solutions
1395 static std::vector<IntSetArgs> expectedSolutions(void) {
1396 static std::vector<IntSetArgs> expected;
1397 expected.clear();
1398 expected.push_back(ISA(2, 0,1,-1, 0,1,-1));
1399 expected.push_back(ISA(2, 0,1,-1, 0, -1));
1400 // expected.push_back(ISA(2, 0,1,-1, 1,-1)); // XXXXX bad solution
1401 expected.push_back(ISA(2, 0,1,-1, -1));
1402 expected.push_back(ISA(2, 0, -1, 0,1,-1));
1403 expected.push_back(ISA(2, 0, -1, 0, -1));
1404 expected.push_back(ISA(2, 0, -1, 1,-1));
1405 expected.push_back(ISA(2, 0, -1, -1));
1406 // expected.push_back(ISA(2, 1,-1, 0,1,-1));
1407 // expected.push_back(ISA(2, 1,-1, 0, -1));
1408 // expected.push_back(ISA(2, 1,-1, 1,-1));
1409 // expected.push_back(ISA(2, 1,-1, -1));
1410 expected.push_back(ISA(2, -1, 0,1,-1));
1411 expected.push_back(ISA(2, -1, 0, -1));
1412 // expected.push_back(ISA(2, -1, 1,-1));
1413 expected.push_back(ISA(2, -1, -1));
1414 return expected;
1415 }
1416 };
1417
1418 /// %Test for set value symmetry

Callers

nothing calls this directly

Calls 2

ISAFunction · 0.85
clearMethod · 0.45

Tested by

no test coverage detected