Genetic Algorithm, Particle Swarm Optimization, Simulated Annealing, Ant Colony Optimization Algorithm,Immune Algorithm, Artificial Fish Swarm Algorithm, Differential Evolution and TSP(Traveling salesman)
5.3k
stars
989
forks
source link
如何在初始化阶段将表现良好的个体加入种群? #205
Open
Czw007 opened 2 years ago
您好,我知道使用 self.Chrom = np.random.randint(low=0, high=2, size=(self.size_pop, self.len_chrom))可以初始化种群. 请问如何在初始化阶段将表现良好的个体加入种群?我没有在源码中找到将实际值编码为gray的功能.