经典进化算法:原理、应用与函数概念解析
1. 经典进化算法的基本组件与原理
1.1 进化算法的基本结构
进化算法由一系列基本组件构成,这些组件大致基于两个著名的进化原则:自然选择和遗传继承。其基本算法如下:
Algorithm 1 Evolutionary Algorithm
Randomly create an initial Population P0 and set i ←0.
Evaluate the performance of each individual within Pi using its fitness function.
repeat
Select parents from Pi with a probability based on fitness.
Recombine selected parents to yield an offspring population Pi+1 and set i ←i+1.
Evaluate the performance of the new population using its fitness function.
until An acceptable solution is found or some other termination criterion is met (e.g., a maximum number of generations is reached).
return The best-so-far individual as the result of the run.
超级会员免费看
订阅专栏 解锁全文
3606

被折叠的 条评论
为什么被折叠?



