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

Method expectedSolutions

test/ldsb.cpp:480–510  ·  view source on GitHub ↗

Compute list of expected solutions

Source from the content-addressed store, hash-verified

478 }
479 /// Compute list of expected solutions
480 static std::vector<IntArgs> expectedSolutions(void) {
481 static std::vector<IntArgs> expected;
482 expected.clear();
483 expected.push_back(IntArgs({0,0, 0,0, 0,0}));
484 expected.push_back(IntArgs({0,0, 0,0, 0,1}));
485 expected.push_back(IntArgs({0,0, 0,0, 1,0}));
486 expected.push_back(IntArgs({0,0, 0,0, 1,1}));
487 expected.push_back(IntArgs({0,0, 0,1, 0,0}));
488 expected.push_back(IntArgs({0,0, 0,1, 0,1}));
489 expected.push_back(IntArgs({0,0, 0,1, 1,0}));
490 expected.push_back(IntArgs({0,0, 0,1, 1,1}));
491 expected.push_back(IntArgs({0,0, 1,0, 1,0}));
492 expected.push_back(IntArgs({0,0, 1,0, 1,1}));
493 expected.push_back(IntArgs({0,0, 1,1, 1,1}));
494 expected.push_back(IntArgs({0,1, 0,0, 0,0}));
495 expected.push_back(IntArgs({0,1, 0,0, 0,1}));
496 expected.push_back(IntArgs({0,1, 0,0, 1,0}));
497 expected.push_back(IntArgs({0,1, 0,0, 1,1}));
498 expected.push_back(IntArgs({0,1, 0,1, 0,0}));
499 expected.push_back(IntArgs({0,1, 0,1, 0,1}));
500 expected.push_back(IntArgs({0,1, 0,1, 1,0}));
501 expected.push_back(IntArgs({0,1, 0,1, 1,1}));
502 expected.push_back(IntArgs({0,1, 1,0, 1,0}));
503 expected.push_back(IntArgs({0,1, 1,0, 1,1}));
504 expected.push_back(IntArgs({0,1, 1,1, 1,1}));
505 expected.push_back(IntArgs({1,0, 1,0, 1,0}));
506 expected.push_back(IntArgs({1,0, 1,0, 1,1}));
507 expected.push_back(IntArgs({1,0, 1,1, 1,1}));
508 expected.push_back(IntArgs({1,1, 1,1, 1,1}));
509 return expected;
510 }
511 };
512
513 /// %Test for matrix symmetry

Callers

nothing calls this directly

Calls 2

IntArgsClass · 0.50
clearMethod · 0.45

Tested by

no test coverage detected