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

Method width

gecode/int/extensional/bit-set.hpp:65–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63
64 template<class IndexType>
65 forceinline unsigned int
66 BitSet<IndexType>::width(void) const {
67 assert(!empty());
68 IndexType width = _index[0];
69 for (IndexType i=1; i<_limit; i++)
70 width = std::max(width,_index[i]);
71 assert(static_cast<unsigned int>(width+1U) >= words());
72 return static_cast<unsigned int>(width+1U);
73 }
74
75 template<class IndexType>
76 forceinline

Callers 5

propagateMethod · 0.45
copyMethod · 0.45
adviseMethod · 0.45
finalizeMethod · 0.45
dfa.hppFile · 0.45

Calls 2

emptyFunction · 0.50
maxFunction · 0.50

Tested by

no test coverage detected