Hi I ve been reading up on schema theory and whilst I do understand the theory behind it, I m having a hard time trying to understand how it can be implemented in my genetic algorithm java code. Does anyone have a pseudo code for this? I m supposed to define FOUR schemas that are of particular interest for the fitness functions of my program (e.g., 1*···* and 0*···*). I ve no idea how to do this.
问题
采用一种简单的GA,其适当性-相称性选择、鲁莱特-轮取样、人口规模100、单点交叉率pc=0.7和双向突变率pm=0.001。 它对以下健身功能的询问: ƒ(x) = ×中的数量,X 年的平均寿命为20。 (I vecoded this part)
根据《公认会计原则》,在单独档案中,界定对上文问题1(例如,1*------*和0*------)的合适职能特别感兴趣的资源图。 将大会保留为问题1(具有相同参数)和每代记录这些图象中每个图象的人口数量