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

Method shift

gecode/int/unary/tree.hpp:162–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160
161 template<class TaskView>
162 forceinline void
163 OmegaLambdaTree<TaskView>::shift(int i) {
164 // That means that i is in omega
165 assert(leaf(i).ect > -Limits::infinity);
166 leaf(i).p = 0;
167 leaf(i).ect = -Limits::infinity;
168 leaf(i).resEct = i;
169 leaf(i).resLp = i;
170 update(i);
171 }
172
173 template<class TaskView>
174 forceinline void

Callers 1

ExecStatus edgefindingFunction · 0.45

Calls 1

updateFunction · 0.85

Tested by

no test coverage detected