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

Method update

gecode/int/cumulative/tree.hpp:50–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48 }
49
50 forceinline void
51 OmegaNode::update(const OmegaNode& l, const OmegaNode& r) {
52 e = l.e + r.e; env = std::max(plus(l.env,r.e), r.env);
53 }
54
55 template<class TaskView>
56 OmegaTree<TaskView>::OmegaTree(Region& r, int c0,

Callers 3

val.hppFile · 0.45
TaskProp<ManTask,PL>Function · 0.45
TaskProp<OptTask,PL>Function · 0.45

Calls 3

plusFunction · 0.85
updateFunction · 0.85
maxFunction · 0.50

Tested by

no test coverage detected