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

Method compare

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

Source from the content-addressed store, hash-verified

157
158 template<class View>
159 forceinline Iter::Ranges::CompareStatus
160 ValSet::compare(View x) const {
161 if (empty() || (x.max() < min()) || (x.min() > max()))
162 return Iter::Ranges::CS_DISJOINT;
163 ValSet::Ranges vsr(*this);
164 ViewRanges<View> xr(x);
165 return Iter::Ranges::compare(xr,vsr);
166 }
167
168 template<class View>
169 forceinline bool

Callers 3

postMethod · 0.45
propagateMethod · 0.45
disjointMethod · 0.45

Calls 5

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

Tested by

no test coverage detected