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

Function assign

gecode/float/branch.cpp:110–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108 }
109
110 void
111 assign(Home home, const FloatVarArgs& x,
112 FloatVarBranch vars, FloatAssign vals,
113 FloatBranchFilter bf,
114 FloatVarValPrint vvp) {
115 using namespace Float;
116 if (home.failed()) return;
117 ViewArray<FloatView> xv(home,x);
118 ViewSel<FloatView>* vs[1] = {
119 new (home) ViewSelNone<FloatView>(home,vars)
120 };
121 postviewvalbrancher<FloatView,1,FloatNumBranch,1>
122 (home,xv,vs,Branch::valselcommit(home,vals),bf,vvp);
123 }
124
125 void
126 assign(Home home, const FloatVarArgs& x,

Callers 1

createBranchersMethod · 0.50

Calls 6

FLOAT_VAR_NONEFunction · 0.85
valselcommitFunction · 0.50
viewselFunction · 0.50
failedMethod · 0.45
expandMethod · 0.45
selectMethod · 0.45

Tested by

no test coverage detected