| 36 | namespace Gecode { namespace Int { namespace NValues { |
| 37 | |
| 38 | forceinline int |
| 39 | SymBitMatrix::pos(int x, int y) const { |
| 40 | assert(x < y); |
| 41 | return (x*(2*n-x-1)) / 2 + y - x - 1; |
| 42 | } |
| 43 | |
| 44 | forceinline |
| 45 | SymBitMatrix::SymBitMatrix(Region& r, int n0) |