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

Method matchAssignment

test/float.cpp:210–216  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

208 }
209
210 bool
211 TestSpace::matchAssignment(const Assignment& a) const {
212 for (int i=x.size(); i--; )
213 if ((x[i].min() < a[i].min()) && (x[i].max() > a[i].max()))
214 return false;
215 return true;
216 }
217
218 void
219 TestSpace::post(void) {

Callers 1

runMethod · 0.80

Calls 3

sizeMethod · 0.45
minMethod · 0.45
maxMethod · 0.45

Tested by

no test coverage detected