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

Function SetVarImpBase

gecode/set/var-imp/set.cpp:116–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114 */
115
116 forceinline
117 SetVarImp::SetVarImp(Space& home, SetVarImp& x)
118 : SetVarImpBase(home,x) {
119 lub.update(home, x.lub);
120 glb.card(x.cardMin());
121 lub.card(x.cardMax());
122 if (x.assigned()) {
123 glb.become(home,lub);
124 } else {
125 glb.update(home,x.glb);
126 }
127 }
128
129
130 SetVarImp*

Callers

nothing calls this directly

Calls 6

becomeMethod · 0.80
updateMethod · 0.45
cardMethod · 0.45
cardMinMethod · 0.45
cardMaxMethod · 0.45
assignedMethod · 0.45

Tested by

no test coverage detected