MCPcopy Create free account
hub / github.com/Gecode/gecode / get

Method get

gecode/int/nvalues/sym-bit-matrix.hpp:49–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47 n(n0) {}
48
49 forceinline bool
50 SymBitMatrix::get(int x, int y) const {
51 assert(x != y);
52 if (x > y) std::swap(x,y);
53 return Support::BitSet<Region>::get(static_cast<unsigned int>(pos(x,y)));
54 }
55
56 forceinline void
57 SymBitMatrix::set(int x, int y) {

Callers 1

prune_lowerMethod · 0.45

Calls 1

posFunction · 0.50

Tested by

no test coverage detected