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

Method cost

gecode/int/linear/bool-scale.hpp:166–170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

164
165 template<class SBAP, class SBAN, class VX, PropCond pcx>
166 PropCost
167 LinBoolScale<SBAP,SBAN,VX,pcx>::cost(const Space&,
168 const ModEventDelta&) const {
169 return PropCost::linear(PropCost::LO, p.size() + n.size());
170 }
171
172 template<class SBAP, class SBAN, class VX, PropCond pcx>
173 void

Callers

nothing calls this directly

Calls 2

linearFunction · 0.50
sizeMethod · 0.45

Tested by

no test coverage detected