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

Method updateBeta

gecode/set/precede/single.hpp:72–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70
71 template<class View>
72 forceinline ExecStatus
73 Single<View>::updateBeta(Space& home) {
74 int n = x.size();
75 do {
76 beta++;
77 } while ((beta < n) &&
78 (x[beta].notContains(s) || x[beta].contains(t)));
79 if (beta > gamma) {
80 GECODE_ME_CHECK(x[alpha].exclude(home, t));
81 GECODE_ME_CHECK(x[alpha].include(home, s));
82 }
83 return ES_OK;
84 }
85
86 template<class View>
87 forceinline

Callers

nothing calls this directly

Calls 5

sizeMethod · 0.45
notContainsMethod · 0.45
containsMethod · 0.45
excludeMethod · 0.45
includeMethod · 0.45

Tested by

no test coverage detected