Post constraint on \a x
| 243 | } |
| 244 | /// Post constraint on \a x |
| 245 | virtual void post(Gecode::Space& home, Gecode::FloatVarArray& x) { |
| 246 | if (flip()) |
| 247 | Gecode::asin(home, x[0], x[1]); |
| 248 | else |
| 249 | Gecode::rel(home, asin(x[0]) == x[1]); |
| 250 | } |
| 251 | }; |
| 252 | |
| 253 | /// %Test for asinus constraint where solution is ensured |