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

Method cost

gecode/float/linear/nary.hpp:59–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57
58 template<class P, class N, PropCond pc>
59 PropCost
60 Lin<P,N,pc>::cost(const Space&, const ModEventDelta&) const {
61 return PropCost::linear(PropCost::LO, x.size()+y.size());
62 }
63
64 template<class P, class N, PropCond pc>
65 void

Callers

nothing calls this directly

Calls 2

linearFunction · 0.50
sizeMethod · 0.45

Tested by

no test coverage detected