Research Article
Efficient Parallel Sorting for Migrating Birds Optimization When Solving Machine-Part Cell Formation Problems
Algorithm 3
Convert matrix
and
to final matrix.
() Main Function Convert_to_final_matrix (, , ) is | () , , , | () / Sort machines / | () for ; ; ++ do | () for ; ; ++ do | () if then | () for ; ; ++ do | () | () end | () | () end | () end | () end | () / Sort parts / | () for ; ; ++ do | () for ; ; ++ do | () if then | () for ; ; ++ do | () | () end | () | () end | () end | () end | () return | () end |
|