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

Method solution

test/ldsb.cpp:1160–1165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1158 virtual Space* copy(void)
1159 { return new Latin(*this); }
1160 IntArgs solution(void) {
1161 IntArgs a(xs.size());
1162 for (int i = 0 ; i < a.size() ; ++i)
1163 a[i] = xs[i].val();
1164 return a;
1165 }
1166
1167 /// Compute list of expected solutions
1168 static std::vector<IntArgs> expectedSolutions(void) {

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.45
valMethod · 0.45

Tested by

no test coverage detected