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

Method MatrixIntSet

test/set/element.cpp:348–353  ·  view source on GitHub ↗

Create and register test

Source from the content-addressed store, hash-verified

346 public:
347 /// Create and register test
348 MatrixIntSet(void)
349 : SetTest("Element::Matrix::IntSet",1,IntSet(0,3),false,2),
350 tm(4) {
351 tm[0]=IntSet(0,0); tm[1]=IntSet(1,1);
352 tm[2]=IntSet(2,2); tm[3]=IntSet(3,3);
353 }
354 /// %Test whether \a x is solution
355 virtual bool solution(const SetAssignment& x) const {
356 // Get integer assignment

Callers

nothing calls this directly

Calls 1

IntSetClass · 0.85

Tested by

no test coverage detected