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

Method val

gecode/float/branch/val-sel.hpp:58–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56 ValSelLq::ValSelLq(Space& home, ValSelLq& vs)
57 : ValSel<FloatView,FloatNumBranch>(home,vs) {}
58 forceinline FloatNumBranch
59 ValSelLq::val(const Space&, FloatView x, int) {
60 FloatNumBranch nl;
61 nl.n = x.med(); nl.l = true;
62 return nl;
63 }
64
65 forceinline
66 ValSelGq::ValSelGq(Space& home, const ValBranch<Var>& vb)

Callers

nothing calls this directly

Calls 2

rFunction · 0.85
medMethod · 0.45

Tested by

no test coverage detected