| 41 | namespace Gecode { |
| 42 | |
| 43 | void |
| 44 | cardinality(Home home, SetVar x, unsigned int i, unsigned int j) { |
| 45 | Set::Limits::check(i, "Set::cardinality"); |
| 46 | Set::Limits::check(j, "Set::cardinality"); |
| 47 | GECODE_POST; |
| 48 | Set::SetView _x(x); |
| 49 | GECODE_ME_FAIL(_x.cardMin(home, i)); |
| 50 | GECODE_ME_FAIL(_x.cardMax(home, j)); |
| 51 | } |
| 52 | |
| 53 | void |
| 54 | cardinality(Home home, const SetVarArgs& x, unsigned int i, unsigned int j) { |
no test coverage detected