| 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 { |