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

Method clear_mask

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

Source from the content-addressed store, hash-verified

146
147 template<class IndexType>
148 forceinline void
149 BitSet<IndexType>::clear_mask(BitSetData* mask) const {
150 assert(_limit > 0U);
151 for (IndexType i=0; i<_limit; i++) {
152 mask[i].init(false);
153 assert(mask[i].none());
154 }
155 }
156
157 template<class IndexType>
158 forceinline void

Callers 2

setupMethod · 0.45
adviseMethod · 0.45

Calls 2

initMethod · 0.45
noneMethod · 0.45

Tested by

no test coverage detected