Research Article
Research on WNN Modeling for Gold Price Forecasting Based on Improved Artificial Bee Colony Algorithm
() initialize solution population using (5) | () set | () for 1 : MCN, do | () for 1 : SN, do | () crossover and mutate using (8) in as many as randomly | selected elements for the employed bee | () adopt greedy selection | () if better position is found for the employed bee, do | () | () else | () | () end if | () end for | () for 1 : SN, do | () crossover and mutate using (9) and (10) in one randomly selected | element for the onlooker bee | () adopt greedy selection | () if better position is found for the onlooker bee, do | () | () else | () | () end if | () end for | () if , do | () initialize the employed bee using (5), | () end if | () memorize current best solution | () end for | () output global optimum |
|