Post constraint on \a x
| 165 | } |
| 166 | /// Post constraint on \a x |
| 167 | virtual void post(Gecode::Space& home, Gecode::FloatVarArray& x) { |
| 168 | Gecode::mult(home, x[0], x[1], x[1]); |
| 169 | } |
| 170 | }; |
| 171 | |
| 172 | /// %Test for multiplication constraint with shared variables |