Help function to cancel and dispose a no-good literal
| 37 | |
| 38 | /// Help function to cancel and dispose a no-good literal |
| 39 | forceinline NGL* |
| 40 | disposenext(NGL* ngl, Space& home, Propagator& p, bool c) { |
| 41 | NGL* n = ngl->next(); |
| 42 | if (c) |
| 43 | ngl->cancel(home,p); |
| 44 | home.rfree(ngl,ngl->dispose(home)); |
| 45 | return n; |
| 46 | } |
| 47 | |
| 48 | void |
| 49 | NoNGL::subscribe(Space&, Propagator&) { |