Research Article
Multipath Cluster-Assisted Single Station Localization Based on SSA-GA in Outdoor NLOS Environment
Algorithm 2
Genetic algorithm-based improved salp swarm algorithm.
Input | 1: Initializing populations | 2: while terminate condition has not been met do | 3: fordo | 4: Calculate fitness of salp | 5: end for | 6: =the best search salp | 7: Update | 8: Divide the population into two parts: leaders and followers | 9: fordo | 10: Update the position of the leaders by (10) | 11: end for | 12: fordo | 13: if | 14: Update the position of by (12) | 15: end if | 16: end for | 17: fordo | 18: if | 19: Update the position of the by (11) | 20: end if | 21: end for | 22: Set the population after crossover mutation as | 23: Update populations =combine (,) | 24: Calculate the optimal position of leader | 25: Update the position of the first follower by (13) | 26: fordo | 27: Update the position of followers by (14) | 28: end for | 29: end while | Output The best global solution |
|