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

Method updateAlpha

gecode/int/precede/single.hpp:60–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58
59 template<class View>
60 forceinline ExecStatus
61 Single<View>::updateAlpha(Space& home) {
62 int n = x.size();
63 while ((alpha < n) && !x[alpha].in(s))
64 GECODE_ME_CHECK(x[alpha++].nq(home, t));
65 if (alpha < n)
66 GECODE_ME_CHECK(x[alpha].nq(home, t));
67 return ES_OK;
68 }
69
70 template<class View>
71 forceinline ExecStatus

Callers

nothing calls this directly

Calls 3

sizeMethod · 0.45
inMethod · 0.45
nqMethod · 0.45

Tested by

no test coverage detected