Research Article

Dispatching-Rule Variants Algorithms for Used Spaces of Storage Supports

Algorithm 4

-swapping algorithm: .
(1)Set ,
(2)whiledo
(3)fordo
(4)  
(5)  
(6)  
(7)  
(8)  ifthen
(9)   Break;
(10)  end if
(11)end for
(12)ifthen
(13)  fordo
(14)   
(15)   
(16)   
(17)   
(18)   ifthen
(19)    Break;
(20)   end if
(21)  end for
(22)end if
(23)end while