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

Method assigned

examples/qcp.cpp:123–125  ·  view source on GitHub ↗

Whether field is pre-assigned

Source from the content-addressed store, hash-verified

121 }
122 /// Whether field is pre-assigned
123 bool assigned(int i, int j) const {
124 return info(i,j) > 0;
125 }
126 /// Return value at position \a i and \j
127 int val(int i, int j) const {
128 assert(assigned(i,j));

Callers 15

printMethod · 0.45
statusMethod · 0.45
choiceMethod · 0.45
QCPMethod · 0.45
printMethod · 0.45
statusMethod · 0.45
inspectMethod · 0.45
printMethod · 0.45
printMethod · 0.45
statusMethod · 0.45
choiceMethod · 0.45
printMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected