CHB-based cost
| 440 | IntCHB ichb; BoolCHB bchb; |
| 441 | /// CHB-based cost |
| 442 | double chb(int i) const { |
| 443 | return ((bchb[i] + ichb[fst[i]] + ichb[snd[i]]) / |
| 444 | (start[fst[i]].size() + start[fst[i]].size())); |
| 445 | } |
| 446 | /// Trampoline function for CHB-based cost |
| 447 | static double chbmerit(const Space& home, BoolVar, int i) { |
| 448 | return static_cast<const JobShopSolve&>(home).chb(i); |