Post constraint on \a x
| 550 | } |
| 551 | /// Post constraint on \a x |
| 552 | virtual void post(Gecode::Space& home, Gecode::FloatVarArray& x) { |
| 553 | if (flip()) |
| 554 | Gecode::min(home, x[0], x[1], x[2]); |
| 555 | else |
| 556 | Gecode::rel(home, min(x[0],x[1]) == x[2]); |
| 557 | } |
| 558 | }; |
| 559 | |
| 560 | /// %Test for binary minimum constraint with shared variables |