AFC-based cost
| 418 | IntAFC iafc; |
| 419 | /// AFC-based cost |
| 420 | double afc(BoolVar x, int i) const { |
| 421 | return ((x.afc() + start[fst[i]].afc() + start[snd[i]].afc()) / |
| 422 | (start[fst[i]].size() + start[fst[i]].size())); |
| 423 | } |
| 424 | /// Trampoline function for AFC-based cost |
| 425 | static double afcmerit(const Space& home, BoolVar x, int i) { |
| 426 | return static_cast<const JobShopSolve&>(home).afc(x,i); |