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

Method schedule_conclusion

gecode/int/sequence/view.hpp:235–246  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

233
234 template<class View,class Val, bool iss>
235 forceinline ExecStatus
236 ViewValSupport<View,Val,iss>::schedule_conclusion(ViewArray<View>& a, Val s,
237 int i) {
238 if (!retired()) {
239 if ((iss && includes(a[i],s)) || (!iss && excludes(a[i],s)))
240 return ES_FAILED;
241 y[0] = 1;
242 potential_violation(0);
243 }
244
245 return ES_OK;
246 }
247
248 template<class View,class Val, bool iss>
249 forceinline bool

Callers

nothing calls this directly

Calls 2

includesFunction · 0.85
excludesFunction · 0.85

Tested by

no test coverage detected