Research Article
An Improved Teaching-Learning-Based Optimization with the Social Character of PSO for Global Optimization
| pop = sort(pop); | | if abs(bestfit(gen) − bestfit(gen − 1)) < then ; else ; | | if ( == ) | | ; | | for : popsize | | if rand(1) < p c | | = ceil(rand(1) dimsize); | | pop() = pop() + rands(); | | if pop() > then pop) = ; | | if pop() < then pop() = ; | | end | | end | | end | | end |
|