Research Article

Multistage Dynamic Packet Access Mechanism of Internet of Things

Algorithm 2

Elimination mechanism of DNSFLA.
(1)Initialize
(2)Update the worst solution via formulas (14) and (15), recorded as
(3)if then
(4)
(5)else
(6)
(7) Record the adaptability value after updating as
(8)if then
(9)  
(10)else
(11)  randomly generate a new solution to replace the original worst solution
(12)end if
(13)end if