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

Method dispose

gecode/set/element/union.hpp:75–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73
74 template<class View, class View0, class View1>
75 forceinline size_t
76 ElementUnion<View,View0,View1>::dispose(Space& home) {
77 home.ignore(*this,AP_DISPOSE);
78 if (!home.failed()) {
79 x0.cancel(home,*this,PC_SET_ANY);
80 x1.cancel(home,*this,PC_SET_ANY);
81 iv.cancel(home,*this,PC_SET_ANY);
82 }
83 (void) Propagator::dispose(home);
84 return sizeof(*this);
85 }
86
87 template<class View, class View0, class View1>
88 ExecStatus

Callers 1

propagateMethod · 0.45

Calls 3

ignoreMethod · 0.45
failedMethod · 0.45
cancelMethod · 0.45

Tested by

no test coverage detected