| Algorithm 1: MCE-GA |
|
Inputs: Population size list , evolutionary stagnation threshold , the iterations , interval steps of migration , mutation probability list , crossover probability list |
|
Outputs: Optimal offloading policy , the total overhead |
| 1: Randomly initialize the populations and Elite population |
| 2: Initialize the inputs |
| 3: For i = do |
| 4: = ; |
| 5: Evaluate the fitness value of each individual in the ; |
| 6: Update Elite population ; |
| 7: While stopping criterion is not met do |
| 8: For i = do |
| 9: offspring = Select (); |
| 10: pop = Cross and Mutate (offspring); |
| 11: = + pop; |
| 12: evaluate the fitness value of each individual in ; |
| 13: Select individuals to get a new generation of population; |
| 14: End For |
| 15: IF evolutionary algebra % do |
| 16: Carry out population migration; |
| 17: Update Elite population ; |
| 18: Return optimal offloading policy and the total overhead. |
| 19: End |