MCPcopy Create free account
hub / github.com/Gecode/gecode / operator ()

Method operator ()

gecode/kernel/branch/merit.hpp:204–209  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

202 }
203 template<class View>
204 forceinline double
205 MeritFunction<View>::operator ()(const Space& home, View x, int i) {
206 typename View::VarType y(x.varimp());
207 GECODE_VALID_FUNCTION(f());
208 return f()(home,y,i);
209 }
210 template<class View>
211 forceinline bool
212 MeritFunction<View>::notice(void) const {

Callers

nothing calls this directly

Calls 4

fFunction · 0.85
varimpMethod · 0.45
degreeMethod · 0.45
afcMethod · 0.45

Tested by

no test coverage detected