Research Article

IoT Workflow Scheduling Using Intelligent Arithmetic Optimization Algorithm in Fog Computing

Algorithm 3

AOAM scheduler.
(1) Input: list of CNs (), list of IoT tasks (), size of population (), and number of iterations ().
(2) Construct the initial population () using equation (25).
(3) Set .
(4)whiledo
(5) Calculate the fitness value () for .
(6) Determine that has the smallest .
(7)fordo
(8) Update based on equation (26).
(9)end for
(10).
(11)end while
(12) Return .