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

Method linsert

gecode/int/unary/tree.hpp:182–189  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

180
181 template<class TaskView>
182 forceinline void
183 OmegaLambdaTree<TaskView>::linsert(int i) {
184 leaf(i).lp = tasks[i].pmin();
185 leaf(i).lect = tasks[i].est()+tasks[i].pmin();
186 leaf(i).resEct = i;
187 leaf(i).resLp = i;
188 update(i);
189 }
190
191 template<class TaskView>
192 forceinline void

Callers 1

overloadFunction · 0.80

Calls 3

updateFunction · 0.85
pminMethod · 0.45
estMethod · 0.45

Tested by

no test coverage detected