Post constraint
| 117 | } |
| 118 | /// Post constraint |
| 119 | virtual void post(Gecode::Space& home, Gecode::IntVarArray& x) { |
| 120 | using namespace Gecode; |
| 121 | BoolVar b = channel(home,x[0]); |
| 122 | rel(home, b, op, channel(home,x[1]), b); |
| 123 | } |
| 124 | }; |
| 125 | |
| 126 | /// %Test for binary Boolean operation with shared variables |