Research Article
Shared Mechanism-Based Self-Adaptive Hyperheuristic for Regional Low-Carbon Location-Routing Problem with Time Windows
Algorithm 2
Pseudocode of high-level selection strategy.
op is operator of the last iteration; nop is current selected operator; | FIRop is the fitness improvement rate obtained by op; Tmax and t | is the maximum/current iteration, et al. | input: op, FIRop, TQ, bf, bf0 | output: nop | // Classification | GFIRop=GFIRop+FIRop | i=0 | while iā¤TN do | if GFIRi<0 then | Partition.Operator (i) into PH | else | Partition.Operator (i) into EH | end if | end while | // Type of Selction(PH/EH) | FRR=Algorithm. Implement (1) | pph=Probability.Calculation (TQ, TN) | if pph>rand then | Rewardop=Reward. Calculation(op, t, , bf, bf0) | PFIRop=PFIRop+Rewardop | TotalReward=ā PFIR. | for op=0 to NT do | FRRop=PFIRop/TotalReward | end for | end if | // Credit Value Calculation | for i=0 to Size of the EH or PH do | op=EH/PH. getOperator(i) | CVop=CreditValue.Calculation (FRRop, N) % Equitation (30) | end | // Roulette Selection | nop=Roulette. Selection (CV, EH/PH) |
|