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

Method ones

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

Source from the content-addressed store, hash-verified

225
226 template<class IndexType>
227 forceinline unsigned long long int
228 BitSet<IndexType>::ones(const BitSetData* b) const {
229 unsigned long long int o = 0U;
230 for (IndexType i=0; i<_limit; i++)
231 o += static_cast<unsigned long long int>
232 (BitSetData::a(_bits[i],b[_index[i]]).ones());
233 return o;
234 }
235
236 template<class IndexType>
237 forceinline unsigned long long int

Callers 2

fullMethod · 0.45
propagateMethod · 0.45

Calls 1

aFunction · 0.85

Tested by

no test coverage detected