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

Method cost

gecode/int/linear/int-nary.hpp:76–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74
75 template<class Val, class P, class N, PropCond pc>
76 PropCost
77 Lin<Val,P,N,pc>::cost(const Space&, const ModEventDelta&) const {
78 return PropCost::linear(PropCost::LO, x.size()+y.size());
79 }
80
81 template<class Val, class P, class N, PropCond pc>
82 void

Callers

nothing calls this directly

Calls 2

linearFunction · 0.50
sizeMethod · 0.45

Tested by

no test coverage detected