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

Method expectedSolutions

test/ldsb.cpp:591–615  ·  view source on GitHub ↗

Compute list of expected solutions

Source from the content-addressed store, hash-verified

589 }
590 /// Compute list of expected solutions
591 static std::vector<IntArgs> expectedSolutions(void) {
592 static std::vector<IntArgs> expected;
593 expected.clear();
594 expected.push_back(IntArgs({0,0, 0,0, 0,0}));
595 expected.push_back(IntArgs({0,0, 0,0, 0,1}));
596 expected.push_back(IntArgs({0,0, 0,0, 1,1}));
597 expected.push_back(IntArgs({0,0, 0,1, 0,0}));
598 expected.push_back(IntArgs({0,0, 0,1, 0,1}));
599 expected.push_back(IntArgs({0,0, 0,1, 1,0}));
600 expected.push_back(IntArgs({0,0, 0,1, 1,1}));
601 expected.push_back(IntArgs({0,0, 1,1, 1,1}));
602 expected.push_back(IntArgs({0,1, 0,0, 0,0}));
603 expected.push_back(IntArgs({0,1, 0,0, 0,1}));
604 expected.push_back(IntArgs({0,1, 0,0, 1,0}));
605 expected.push_back(IntArgs({0,1, 0,0, 1,1}));
606 expected.push_back(IntArgs({0,1, 0,1, 0,0}));
607 expected.push_back(IntArgs({0,1, 0,1, 0,1}));
608 expected.push_back(IntArgs({0,1, 0,1, 1,0}));
609 expected.push_back(IntArgs({0,1, 0,1, 1,1}));
610 expected.push_back(IntArgs({0,1, 1,0, 1,0}));
611 expected.push_back(IntArgs({0,1, 1,0, 1,1}));
612 expected.push_back(IntArgs({0,1, 1,1, 1,1}));
613 expected.push_back(IntArgs({1,1, 1,1, 1,1}));
614 return expected;
615 }
616 };
617
618 /// %Test for matrix symmetry

Callers

nothing calls this directly

Calls 2

IntArgsClass · 0.50
clearMethod · 0.45

Tested by

no test coverage detected