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

Method update

gecode/int/unary/tree.hpp:47–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45 }
46
47 forceinline void
48 OmegaNode::update(const OmegaNode& l, const OmegaNode& r) {
49 p = l.p + r.p;
50 ect = std::max(plus(l.ect,r.p), r.ect);
51 }
52
53 template<class TaskView>
54 forceinline

Callers

nothing calls this directly

Calls 3

plusFunction · 0.85
updateFunction · 0.85
maxFunction · 0.50

Tested by

no test coverage detected