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

Method getMincUpdate

gecode/int/distinct/cbs.hpp:124–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122 }
123
124 forceinline double
125 ValToUpdate::getMincUpdate(int val, unsigned int varSize) const {
126 return mincUpdate[val-minVal] / getMincFactor(varSize-1);
127 }
128
129 forceinline double
130 ValToUpdate::getLiangUpdate(int val, unsigned int idx,

Callers 1

cbsdistinctFunction · 0.80

Calls 1

getMincFactorFunction · 0.85

Tested by

no test coverage detected