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

Method subset

gecode/int/val-set.hpp:169–176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

167
168 template<class View>
169 forceinline bool
170 ValSet::subset(View x) const {
171 if (empty() || (x.min() < min()) || (x.max() > max()))
172 return false;
173 ValSet::Ranges vsr(*this);
174 ViewRanges<View> xr(x);
175 return Iter::Ranges::subset(xr,vsr);
176 }
177
178}}
179

Callers 3

eliminateMethod · 0.80
propagateMethod · 0.80
eliminateMethod · 0.80

Calls 6

minFunction · 0.70
maxFunction · 0.70
emptyFunction · 0.50
subsetFunction · 0.50
minMethod · 0.45
maxMethod · 0.45

Tested by

no test coverage detected