Research Article

A Hybrid Quantum Evolutionary Algorithm with Improved Decoding Scheme for a Robotic Flow Shop Scheduling Problem

Pseudocode 3

Pseudocode of Decoding Procedure .
Input:  ,
Begin
   for    to  
     , , , , ;
     for    to  
       if ()  then  , ;
      if ()  then  , ;
       else if () break;
     if () then
         if () then
          , and  for    to  
           ;
     else
         if () then
          , and  for    to  
          ;
End
Output: