Research Article

Multiple Local-Edge-Cloud Collaboration Strategies in Industrial Internet of Things: A Hybrid Genetic-Based Approach

Algorithm 1

Edge offloading algorithm for mobile devices based on energy consumption and delay (EOAMDBECD).
Input: population, , , , , , , , ,
(1)Initializing particle population
(2)Calculate the fitness value of the initial population
(3)Save the globally optimal set of initialized individual populations and the fitness value of the population set and individual best and the fitness value of the individual
(4)while <MaxIteration
(5) Update the position value and velocity of the population according to equation (12)
(6) Crossover
(7) Mutation
(8) Optimize the global best set of the population and the fitness value of the population set and the individual best and the fitness value of the individual
(9)end while
Output: Optimal task offloading decision and joint computing offload cost