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

Method dispose

gecode/kernel/trace/recorder.hpp:315–326  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

313
314 template<class View>
315 inline size_t
316 ViewTraceRecorder<View>::dispose(Space& home) {
317 home.ignore(*this, AP_VIEW_TRACE);
318 home.ignore(*this, AP_DISPOSE);
319 tf.~TraceFilter();
320 // Cancel remaining advisors
321 for (Advisors<Idx> as(c); as(); ++as)
322 n[as.advisor().idx()].cancel(home,as.advisor());
323 c.dispose(home);
324 (void) Propagator::dispose(home);
325 return sizeof(*this);
326 }
327
328 template<class View>
329 PropCost

Callers 1

adviseMethod · 0.45

Calls 3

ignoreMethod · 0.45
cancelMethod · 0.45
idxMethod · 0.45

Tested by

no test coverage detected