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

Method getLiangUpdate

gecode/int/distinct/cbs.hpp:129–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127 }
128
129 forceinline double
130 ValToUpdate::getLiangUpdate(int val, unsigned int idx,
131 unsigned int varSize) const {
132 return liangUpdate[val-minVal] / getLiangBaiFactor(idx, varSize-1);
133 }
134
135
136 template<class View>

Callers 1

cbsdistinctFunction · 0.80

Calls 1

getLiangBaiFactorFunction · 0.85

Tested by

no test coverage detected