Research Article
Intelligent Differential Evolution Scheme for Network Resources in IoT
(1) | Begin | (2) | Load and validate iMOPSE dataset | (3) | t ⟵ 0 | (4) | Size ⟵ size of the population | (5) | P(t) ⟵ Initial population | (6) | f(t) ⟵ Calculate the fitness and makespan | (7) | while (Stop criterion) | (8) | for (int i = 0; i < Size; i++) | (9) | xr1 ≠ xr2 ≠ xr3 ≠ xi ⟵ rand (1,Size) | (10) | F ⟵ rand (0, 1) | (11) | (t) ⟵ xr1 + F × (xr − xr3)// parameter of the mutation operator | (12) | for (j = 0; j < n; j++) | (13) | | (14) | end for | (15) | if (f (ui (t)) ≤ f(xi(t))) | (16) | xi (t+1) = ui(t) | (17) | else | (18) | xi (t+1) = xi (t) | (19) | end if | (20) | end for | (21) | Calculate the fitness and bestnest | (22) | If (makespan > min (fitness)) | (23) | makespan = min (fitness) | (24) | End if | (25) | bestnest ⟵ Reallocate (bestnest) | (26) | t ⟵ t + 1 | (27) | end while | (28) | return makespan | (29) | End |
|