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

Method dispose

gecode/set/element/inter.hpp:76–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

propagateMethod · 0.45

Calls 3

ignoreMethod · 0.45
failedMethod · 0.45
cancelMethod · 0.45

Tested by

no test coverage detected