Research Article

Shared Mechanism-Based Self-Adaptive Hyperheuristic for Regional Low-Carbon Location-Routing Problem with Time Windows

Algorithm 1

Pseudocode of credit assignment in shared mechanism.
FIR is the fitness improvement rate of recently applied operator;
FRR is the normalization of SFIR.
input: FIR, SFIR
output: FRR
if FIR>0 then
for i=0 to Size of the Sliding Window do
op=SlidingSindow. getOperatorPos(i)
Reward=bfi×FIR.
SFIRop=SFIRop+Reward.
end for
TotalReward=∑ SFIR.
for op=0 to NTdo
FRRop=SFIRop/TotalReward
end for
save FIR into Sidling Window
else
clear Sidling Window
end if