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

Method updateAlpha

gecode/set/precede/single.hpp:55–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53
54 template<class View>
55 forceinline ExecStatus
56 Single<View>::updateAlpha(Space& home) {
57 int n = x.size();
58 while (alpha < n) {
59 if (x[alpha].notContains(s)) {
60 GECODE_ME_CHECK(x[alpha].exclude(home, t));
61 } else if (x[alpha].contains(t)) {
62 GECODE_ME_CHECK(x[alpha].include(home, s));
63 } else {
64 break;
65 }
66 alpha++;
67 }
68 return ES_OK;
69 }
70
71 template<class View>
72 forceinline ExecStatus

Callers

nothing calls this directly

Calls 5

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

Tested by

no test coverage detected