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

Method solution

test/ldsb.cpp:184–191  ·  view source on GitHub ↗

Return the solution as IntSetArgs

Source from the content-addressed store, hash-verified

182 }
183 /// Return the solution as IntSetArgs
184 IntSetArgs solution(void) {
185 IntSetArgs a(xs.size());
186 for (int i = 0 ; i < a.size() ; ++i) {
187 SetVarGlbRanges glbranges(xs[i]);
188 a[i] = IntSet(glbranges);
189 }
190 return a;
191 }
192 /// Expected solutions
193 virtual IntSetArgs* expectedSolutions(void) { return nullptr; }
194 };

Callers

nothing calls this directly

Calls 2

IntSetClass · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected