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

Method reset

gecode/search/seq/lds.hpp:107–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105
106 template<class Tracer>
107 forceinline void
108 Probe<Tracer>::reset(Space* s, unsigned int d0) {
109 tracer.round();
110 delete cur;
111 while (!ds.empty())
112 delete ds.pop().space();
113 cur = s; d = d0; exhausted = true;
114 if (tracer)
115 tracer.ei()->invalidate();
116 Worker::reset(0);
117 }
118
119 template<class Tracer>
120 forceinline Statistics

Callers 1

nextMethod · 0.45

Calls 8

eiMethod · 0.80
roundMethod · 0.45
emptyMethod · 0.45
spaceMethod · 0.45
popMethod · 0.45
invalidateMethod · 0.45
statusMethod · 0.45
cloneMethod · 0.45

Tested by

no test coverage detected