Research Article

Machine Monitoring Protocols Based on Quality of Service (QoS) to Improve Performance of Real-Time Industrial Applications

Algorithm 3

The weed optimization algorithm for the aggregated node.
Input Population of plants
Output Aggregated node selection
(1)Initial population of the weed
(2)Calculate the fitness value of the initial weed population
(3)Calculate number of seeds. Calculate fitness value for each seeds.
(4)Spread the new seeds
(5)Calculate the fitness value for new seed
(6)
(7)Remove the seeds with lower fitness value
(8)else
(9)Maximum number of iterations is achieved
(10)End
Return Aggregated node selection