Post constraint on \a x
| 106 | } |
| 107 | /// Post constraint on \a x |
| 108 | virtual void post(Gecode::Space& home, Gecode::IntVarArray& x) { |
| 109 | using namespace Gecode; |
| 110 | home.fail(); |
| 111 | IntVarArgs y(2); |
| 112 | y[0]=x[0]; y[1]=x[0]; |
| 113 | unshare(home, y); |
| 114 | REG r(1); |
| 115 | extensional(home, y, r); |
| 116 | } |
| 117 | }; |
| 118 | |
| 119 | Int i_bnd(Gecode::IPL_BND); |
nothing calls this directly
no test coverage detected