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

Method solution

test/ldsb.cpp:156–161  ·  view source on GitHub ↗

Return the solution as IntArgs

Source from the content-addressed store, hash-verified

154 }
155 /// Return the solution as IntArgs
156 IntArgs solution(void) {
157 IntArgs a(xs.size());
158 for (int i = 0 ; i < a.size() ; ++i)
159 a[i] = xs[i].val();
160 return a;
161 }
162 /// Expected solutions
163 virtual IntArgs* expectedSolutions(void) { return nullptr; }
164 };

Callers 1

checkFunction · 0.45

Calls 2

sizeMethod · 0.45
valMethod · 0.45

Tested by

no test coverage detected