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

Method decay

gecode/kernel/gpi.hpp:135–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133 }
134
135 forceinline double
136 GPI::decay(void) const {
137 double d;
138 const_cast<GPI&>(*this).m.acquire();
139 d = 1.0 / invd;
140 const_cast<GPI&>(*this).m.release();
141 return d;
142 }
143
144 forceinline unsigned int
145 GPI::pid(void) const {

Callers 15

JobShopSolveMethod · 0.45
QCPMethod · 0.45
slaveMethod · 0.45
WordSquareMethod · 0.45
NonogramMethod · 0.45
SudokuIntMethod · 0.45
SudokuSetMethod · 0.45
PhotoMethod · 0.45
GraphColorMethod · 0.45
MultiBinPackingMethod · 0.45
mainFunction · 0.45
MagicSquareMethod · 0.45

Calls 2

acquireMethod · 0.45
releaseMethod · 0.45

Tested by

no test coverage detected