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

Method insert

gecode/int/cumulative/tree.hpp:66–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64
65 template<class TaskView>
66 forceinline void
67 OmegaTree<TaskView>::insert(int i) {
68 leaf(i).e = tasks[i].e();
69 leaf(i).env =
70 static_cast<long long int>(c)*tasks[i].est()+tasks[i].e();
71 update(i);
72 }
73
74 template<class TaskView>
75 forceinline void

Callers 1

overloadFunction · 0.45

Calls 3

updateFunction · 0.85
eMethod · 0.45
estMethod · 0.45

Tested by

no test coverage detected