Post constraint on \a x
| 312 | } |
| 313 | /// Post constraint on \a x |
| 314 | virtual void post(Gecode::Space& home, Gecode::FloatVarArray& x) { |
| 315 | if (flip()) |
| 316 | Gecode::acos(home, x[0], x[1]); |
| 317 | else |
| 318 | Gecode::rel(home, acos(x[0]) == x[1]); |
| 319 | } |
| 320 | }; |
| 321 | |
| 322 | /// %Test for acosinus constraint where solution is ensured |