Research Article
Internet of Medical Things and Edge Computing for Improving Healthcare in Smart Cities
(1) | Initialize the particles position initialization () and particles velocity initialization (). | (2) | Initialize and . | (3) | Compute the fitness of each particle and compare this value with the optimal historical value, . | (4) | Find the best particle in the group, compare it with the best particle in the group’s history and pick the better particle. | (5) | Update the velocity and position of the particles using equations (15) and (16), respectively. | (6) | Repeat Steps 2 through 4 until you have reached the iterations maximum number or the minimum error. |
|