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

Method expectedSolutions

test/ldsb.cpp:635–650  ·  view source on GitHub ↗

Compute list of expected solutions

Source from the content-addressed store, hash-verified

633 }
634 /// Compute list of expected solutions
635 static std::vector<IntArgs> expectedSolutions(void) {
636 static std::vector<IntArgs> expected;
637 expected.clear();
638 expected.push_back(IntArgs({0, 0, 0, 0}));
639 expected.push_back(IntArgs({0, 0, 0, 1}));
640 expected.push_back(IntArgs({0, 0, 1, 0}));
641 expected.push_back(IntArgs({0, 0, 1, 1}));
642 expected.push_back(IntArgs({0, 1, 0, 0}));
643 expected.push_back(IntArgs({0, 1, 0, 1}));
644 expected.push_back(IntArgs({0, 1, 1, 0}));
645 expected.push_back(IntArgs({0, 1, 1, 1}));
646 expected.push_back(IntArgs({1, 0, 0, 1}));
647 expected.push_back(IntArgs({1, 0, 1, 1}));
648 expected.push_back(IntArgs({1, 1, 1, 1}));
649 return expected;
650 }
651 };
652
653 /// %Test for variable sequence symmetry

Callers

nothing calls this directly

Calls 2

IntArgsClass · 0.50
clearMethod · 0.45

Tested by

no test coverage detected