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

Method become

gecode/set/var-imp/integerset.hpp:210–221  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

208 }
209
210 forceinline void
211 BndSet::become(Space& home, const BndSet& that) {
212 if (fst()!=nullptr) {
213 assert(lst()!=nullptr);
214 assert(fst()!= that.fst());
215 fst()->dispose(home,lst());
216 }
217 fst(that.fst());
218 lst(that.lst());
219 _size = that.size();
220 assert(isConsistent());
221 }
222
223 forceinline bool
224 BndSet::in(int i) const {

Callers 8

cardMin_fullMethod · 0.80
cardMax_fullMethod · 0.80
processLubChangeMethod · 0.80
processGlbChangeMethod · 0.80
SetVarImpBaseFunction · 0.80
intersectI_fullMethod · 0.80
includeI_fullMethod · 0.80
excludeI_fullMethod · 0.80

Calls 4

fstMethod · 0.45
disposeMethod · 0.45
lstMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected