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

Method tell

gecode/int/bin-packing/propagate.cpp:94–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92 _eq = -2;
93 }
94 ExecStatus
95 TellCache::tell(Space& home, IntView x) {
96 if (_eq == -2) {
97 return ES_FAILED;
98 } else if (_eq >= 0) {
99 GECODE_ME_CHECK(x.eq(home,_eq));
100 }
101 Iter::Values::Array nqi(_nq, _n_nq);
102 GECODE_ME_CHECK(x.minus_v(home, nqi));
103 _n_nq=0; _eq=-1;
104 return ES_OK;
105 }
106
107
108 /*

Callers 1

propagateMethod · 0.45

Calls 2

eqMethod · 0.45
minus_vMethod · 0.45

Tested by

no test coverage detected