Research Article

Discrete Bat Algorithm for Optimal Problem of Permutation Flow Shop Scheduling

Algorithm 3

The pseudocode of pulse emission rate local operation.
for  each individual
            Compute pulse emission rate by (6);
        if  rand >
                    /* sub-sequence swap  */
                    Randomly select two sub-sequences defined by frequency on ;
                    Swap the two sub-sequences to generate a new position;
             else
                    /* sub-sequence inserting  */
                    Randomly select one sub-sequence defined by frequency on ;
                    Insert this sub-sequence into a random location in remainder sequence;
        endif
endfor