Post constraint on \a x
| 285 | } |
| 286 | /// Post constraint on \a x |
| 287 | virtual void post(Gecode::Space& home, Gecode::IntVarArray& x) { |
| 288 | using namespace Gecode; |
| 289 | Gecode::BoolVarArgs y(12); |
| 290 | for (int i=0; i<4; i++) |
| 291 | y[i]=y[i+4]=y[i+8]=channel(home,x[i]); |
| 292 | unshare(home, y); |
| 293 | extensional(home, y, |
| 294 | ((REG(0) | REG(1)) + REG(1) + REG(0) + REG(1))(3,3)); |
| 295 | } |
| 296 | }; |
| 297 | |
| 298 | /// %Test for empty DFA |
nothing calls this directly
no test coverage detected