| 144 | |
| 145 | |
| 146 | void |
| 147 | assign(Home home, const IntVarArgs& x, |
| 148 | IntVarBranch vars, IntAssign vals, |
| 149 | IntBranchFilter bf, |
| 150 | IntVarValPrint vvp) { |
| 151 | using namespace Int; |
| 152 | if (home.failed()) return; |
| 153 | ViewArray<IntView> xv(home,x); |
| 154 | ViewSel<IntView>* vs[1] = { |
| 155 | new (home) ViewSelNone<IntView>(home,vars) |
| 156 | }; |
| 157 | postviewvalbrancher<IntView,1,int,1> |
| 158 | (home,xv,vs,Branch::valselcommit(home,vals),bf,vvp); |
| 159 | } |
| 160 | |
| 161 | void |
| 162 | branch(Home home, const IntVarArgs& x, |
no test coverage detected