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

Function unify

gecode/int/gcc.cpp:56–59  ·  view source on GitHub ↗

Make \a x and \a y equal

Source from the content-addressed store, hash-verified

54
55 /// Make \a x and \a y equal
56 IntVar unify(Home home, IntVar x, IntVar y) {
57 rel(home, x, IRT_EQ, y);
58 return x;
59 }
60 /// Make \a x and \a y equal
61 IntSet unify(Home, const IntSet& x, const IntSet& y) {
62 IntSetRanges xr(x);

Callers 1

removeDuplicatesFunction · 0.85

Calls 1

relFunction · 0.70

Tested by

no test coverage detected