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

Method add_to_mask

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

Source from the content-addressed store, hash-verified

156
157 template<class IndexType>
158 forceinline void
159 BitSet<IndexType>::add_to_mask(const BitSetData* b, BitSetData* mask) const {
160 assert(_limit > 0U);
161 for (IndexType i=0; i<_limit; i++)
162 mask[i] = BitSetData::o(mask[i],b[_index[i]]);
163 }
164
165 template<class IndexType>
166 template<bool sparse>

Callers 2

setupMethod · 0.45
adviseMethod · 0.45

Calls 1

oFunction · 0.50

Tested by

no test coverage detected