Post constraint
| 96 | } |
| 97 | /// Post constraint |
| 98 | virtual void post(Gecode::Space& home, Gecode::IntVarArray& x) { |
| 99 | using namespace Gecode; |
| 100 | BoolVar b = channel(home,x[0]); |
| 101 | rel(home, b, op, b, channel(home,x[1])); |
| 102 | } |
| 103 | }; |
| 104 | |
| 105 | /// %Test for binary Boolean operation with shared variables |