Research Article
Discrete Bat Algorithm for Optimal Problem of Permutation Flow Shop Scheduling
Algorithm 4
The pseudocode of loudness local operation.
for each individual | Compute loudness by (7); | if rand > | /* random sub-sequence inserting */ | Randomly select a length of sub-sequence; | Randomly determine the sub-sequence with selected length in ; | Insert this sub-sequence into a random location in remainder sequence; | else | /* random sub-sequence inverse */ | Randomly select a length of sub-sequence; | Randomly determine the sub-sequence with selected length in ; | Perform inverse operation on selected sub-sequence; | Replace original sub-sequence with inverted sub-sequence | end if | end for |
|