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

Method expectedSolutions

test/ldsb.cpp:1496–1519  ·  view source on GitHub ↗

Compute list of expected solutions

Source from the content-addressed store, hash-verified

1494 }
1495 /// Compute list of expected solutions
1496 static std::vector<IntSetArgs> expectedSolutions(void) {
1497 static std::vector<IntSetArgs> expected;
1498 expected.clear();
1499
1500 // Symmetric solutions are commented out.
1501 expected.push_back(ISA(4, 0, -1,0,-1,0,-1,0,-1));
1502 expected.push_back(ISA(4, 0, -1,0,-1,0,-1, -1));
1503 // expected.push_back(ISA(4, 0, -1,0,-1, -1,0,-1));
1504 // expected.push_back(ISA(4, 0, -1,0,-1, -1, -1));
1505 // expected.push_back(ISA(4, 0, -1, -1,0,-1,0,-1));
1506 expected.push_back(ISA(4, 0, -1, -1,0,-1, -1));
1507 // expected.push_back(ISA(4, 0, -1, -1, -1,0,-1));
1508 // expected.push_back(ISA(4, 0, -1, -1, -1, -1));
1509 // expected.push_back(ISA(4, -1,0,-1,0,-1,0,-1));
1510 // expected.push_back(ISA(4, -1,0,-1,0,-1, -1));
1511 expected.push_back(ISA(4, -1,0,-1, -1,0,-1));
1512 expected.push_back(ISA(4, -1,0,-1, -1, -1));
1513 // expected.push_back(ISA(4, -1, -1,0,-1,0,-1));
1514 // expected.push_back(ISA(4, -1, -1,0,-1, -1));
1515 // expected.push_back(ISA(4, -1, -1, -1,0,-1));
1516 expected.push_back(ISA(4, -1, -1, -1, -1));
1517
1518 return expected;
1519 }
1520 };
1521
1522 /// %Test for reflection symmetry

Callers

nothing calls this directly

Calls 2

ISAFunction · 0.85
clearMethod · 0.45

Tested by

no test coverage detected