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

Method expectedSolutions

test/ldsb.cpp:530–570  ·  view source on GitHub ↗

Compute list of expected solutions

Source from the content-addressed store, hash-verified

528 }
529 /// Compute list of expected solutions
530 static std::vector<IntArgs> expectedSolutions(void) {
531 static std::vector<IntArgs> expected;
532 expected.clear();
533 expected.push_back(IntArgs({0,0, 0,0, 0,0}));
534 expected.push_back(IntArgs({0,0, 0,0, 0,1}));
535 expected.push_back(IntArgs({0,0, 0,0, 1,1}));
536 expected.push_back(IntArgs({0,0, 0,1, 0,0}));
537 expected.push_back(IntArgs({0,0, 0,1, 0,1}));
538 expected.push_back(IntArgs({0,0, 0,1, 1,0}));
539 expected.push_back(IntArgs({0,0, 0,1, 1,1}));
540 expected.push_back(IntArgs({0,0, 1,1, 0,0}));
541 expected.push_back(IntArgs({0,0, 1,1, 0,1}));
542 expected.push_back(IntArgs({0,0, 1,1, 1,1}));
543 expected.push_back(IntArgs({0,1, 0,0, 0,0}));
544 expected.push_back(IntArgs({0,1, 0,0, 0,1}));
545 expected.push_back(IntArgs({0,1, 0,0, 1,0}));
546 expected.push_back(IntArgs({0,1, 0,0, 1,1}));
547 expected.push_back(IntArgs({0,1, 0,1, 0,0}));
548 expected.push_back(IntArgs({0,1, 0,1, 0,1}));
549 expected.push_back(IntArgs({0,1, 0,1, 1,0}));
550 expected.push_back(IntArgs({0,1, 0,1, 1,1}));
551 expected.push_back(IntArgs({0,1, 1,0, 0,0}));
552 expected.push_back(IntArgs({0,1, 1,0, 0,1}));
553 expected.push_back(IntArgs({0,1, 1,0, 1,0}));
554 expected.push_back(IntArgs({0,1, 1,0, 1,1}));
555 expected.push_back(IntArgs({0,1, 1,1, 0,0}));
556 expected.push_back(IntArgs({0,1, 1,1, 0,1}));
557 expected.push_back(IntArgs({0,1, 1,1, 1,0}));
558 expected.push_back(IntArgs({0,1, 1,1, 1,1}));
559 expected.push_back(IntArgs({1,1, 0,0, 0,0}));
560 expected.push_back(IntArgs({1,1, 0,0, 0,1}));
561 expected.push_back(IntArgs({1,1, 0,0, 1,1}));
562 expected.push_back(IntArgs({1,1, 0,1, 0,0}));
563 expected.push_back(IntArgs({1,1, 0,1, 0,1}));
564 expected.push_back(IntArgs({1,1, 0,1, 1,0}));
565 expected.push_back(IntArgs({1,1, 0,1, 1,1}));
566 expected.push_back(IntArgs({1,1, 1,1, 0,0}));
567 expected.push_back(IntArgs({1,1, 1,1, 0,1}));
568 expected.push_back(IntArgs({1,1, 1,1, 1,1}));
569 return expected;
570 }
571 };
572
573 /// %Test for matrix symmetry

Callers

nothing calls this directly

Calls 2

IntArgsClass · 0.50
clearMethod · 0.45

Tested by

no test coverage detected