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

Method width

gecode/int/int-set-1.hpp:163–168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161 }
162
163 forceinline unsigned int
164 IntSet::width(int i) const {
165 assert(object() != nullptr);
166 IntSetObject* o = static_cast<IntSetObject*>(object());
167 return static_cast<unsigned int>(o->r[i].max-o->r[i].min)+1;
168 }
169
170 forceinline int
171 IntSet::ranges(void) const {

Callers 2

initMethod · 0.45
int-set-1.hppFile · 0.45

Calls 2

maxFunction · 0.70
minFunction · 0.70

Tested by

no test coverage detected