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

Function equal

gecode/third-party/boost/numeric/interval/utility.hpp:157–162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

155}
156
157template<class T, class Policies1, class Policies2> inline
158bool equal(const interval<T, Policies1>& x, const interval<T, Policies2>& y)
159{
160 if (empty(x)) return empty(y);
161 return !empty(y) && x.lower() == y.lower() && x.upper() == y.upper();
162}
163
164template<class T, class Policies> inline
165interval<T, Policies> intersect(const interval<T, Policies>& x,

Callers 3

root_auxFunction · 0.70
operator==Function · 0.50
operator!=Function · 0.50

Calls 3

emptyFunction · 0.70
lowerMethod · 0.45
upperMethod · 0.45

Tested by

no test coverage detected