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

Method dispose

gecode/int/count/int-base.hpp:49–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47
48 template<class VX, class VY>
49 forceinline size_t
50 IntBase<VX,VY>::dispose(Space& home) {
51 if (isintset(y))
52 home.ignore(*this,AP_DISPOSE);
53 for (int i=0; i<n_s; i++)
54 x[i].cancel(home,*this,PC_INT_DOM);
55 cancel(home,*this,y);
56 (void) Propagator::dispose(home);
57 return sizeof(*this);
58 }
59
60 template<class VX, class VY>
61 forceinline

Callers

nothing calls this directly

Calls 4

isintsetFunction · 0.85
cancelFunction · 0.85
ignoreMethod · 0.45
cancelMethod · 0.45

Tested by

no test coverage detected