Research Article

Application of Particle Swarm Optimizer on Load Distribution for Hybrid Network Selection Scheme in Heterogeneous Wireless Networks

Algorithm 2

Create and initiate ๐‘ƒ -particles of ๐‘€ -dimension and their associated objective functions (5) and (6),
where ๐‘ƒ is the number of particles, and ๐‘€ is the number of networks
Repeat:
โ€ƒFor each particle ๐‘š โˆˆ [ 1 , 2 , โ€ฆ , ๐‘ƒ ] , where ๐‘ƒ is the number of particles
โ€ƒโ€ƒFor each dimension ๐‘– โˆˆ [ 1 , 2 , โ€ฆ , ๐‘€ ] , where ๐‘€ is the number of networks
โ€ƒโ€ƒโ€ƒโ€ƒCalculate (8) and (9)
โ€ƒโ€ƒend for;
โ€ƒโ€ƒUpdate the fitness value, which is the system cost value
โ€ƒโ€ƒUpdate the best position found so far (Global and Local) using the fitness value;
โ€ƒend for particles;
until a satisfactory solution is reached or computational limit are exceeded.