| 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 |