| 4436 | |
| 4437 | template<class VIC> |
| 4438 | forceinline void |
| 4439 | VarImp<VIC>::subscribe(Space& home, Propagator& p, PropCond pc, |
| 4440 | bool assigned, ModEvent me, bool schedule) { |
| 4441 | if (assigned) { |
| 4442 | // Do not subscribe, just schedule the propagator |
| 4443 | if (schedule) |
| 4444 | VarImp<VIC>::schedule(home,p,ME_GEN_ASSIGNED); |
| 4445 | } else { |
| 4446 | enter(home,&p,pc); |
| 4447 | // Schedule propagator |
| 4448 | if (schedule && (pc != PC_GEN_ASSIGNED)) |
| 4449 | VarImp<VIC>::schedule(home,p,me); |
| 4450 | } |
| 4451 | } |
| 4452 | |
| 4453 | template<class VIC> |
| 4454 | forceinline void |