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

Method eq

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

Source from the content-addressed store, hash-verified

84 _nq[_n_nq++] = j;
85 }
86 forceinline void
87 TellCache::eq(int j) {
88 // For eq: -1 mean not yet assigned, -2 means failure, positive means value
89 if (_eq == -1)
90 _eq = j;
91 else
92 _eq = -2;
93 }
94 ExecStatus
95 TellCache::tell(Space& home, IntView x) {
96 if (_eq == -2) {

Callers 9

tellMethod · 0.45
propagateMethod · 0.45
postMethod · 0.45
postMethod · 0.45
propagateMethod · 0.45
commitMethod · 0.45
commitMethod · 0.45
pruneMethod · 0.45
commitMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected