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

Function getLiangBaiFactor

gecode/int/distinct/cbs.hpp:66–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64 extern const double liangBaiFactors[WIDTH_LIANG_BAI_FACTORS * WIDTH_LIANG_BAI_FACTORS];
65
66 forceinline double
67 getLiangBaiFactor(int index, int domSize) {
68 return liangBaiFactors[index*WIDTH_LIANG_BAI_FACTORS + domSize - 1];
69 }
70
71 /**
72 * \brief Mapping of each value to its permanent update

Callers 3

minValFunction · 0.85
getLiangUpdateMethod · 0.85
cbsdistinctFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected