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

Method val

examples/qcp.cpp:127–130  ·  view source on GitHub ↗

Return value at position \a i and \j

Source from the content-addressed store, hash-verified

125 }
126 /// Return value at position \a i and \j
127 int val(int i, int j) const {
128 assert(assigned(i,j));
129 return info(i,j) - 1;
130 }
131 };
132
133}

Callers 15

solveFunction · 0.45
QCPMethod · 0.45
printMethod · 0.45
printMethod · 0.45
statusMethod · 0.45
choiceMethod · 0.45
KnightsReifiedMethod · 0.45
inspectMethod · 0.45
printMethod · 0.45
printMethod · 0.45
printMethod · 0.45
printMethod · 0.45

Calls 1

assignedFunction · 0.85

Tested by

no test coverage detected