MCPcopy Create free account
hub / github.com/Gecode/gecode / operator ==

Method operator ==

gecode/int/extensional/tuple-set.hpp:213–224  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

211 }
212
213 forceinline bool
214 TupleSet::operator ==(const TupleSet& t) const {
215 if (tuples() != t.tuples())
216 return false;
217 if (arity() != t.arity())
218 return false;
219 if (min() != t.min())
220 return false;
221 if (max() != t.max())
222 return false;
223 return equal(t);
224 }
225
226 forceinline std::size_t
227 TupleSet::hash(void) const {

Callers

nothing calls this directly

Calls 8

arityFunction · 0.85
tuplesMethod · 0.80
arityMethod · 0.80
minFunction · 0.50
maxFunction · 0.50
equalFunction · 0.50
minMethod · 0.45
maxMethod · 0.45

Tested by

no test coverage detected