Post constraint on \a x
| 192 | } |
| 193 | /// Post constraint on \a x |
| 194 | virtual void post(Gecode::Space& home, Gecode::IntVarArray& x) { |
| 195 | using namespace Gecode; |
| 196 | REG r0(0), r1(1); |
| 197 | REG r01 = r0 | r1; |
| 198 | extensional(home, x, *r01 + r0 + r01(0,1)); |
| 199 | } |
| 200 | }; |
| 201 | |
| 202 | /// %Test with simple regular expression and shared variables (uses unsharing) |
nothing calls this directly
no test coverage detected