文件名称:goodGen
介绍说明--下载内容均来自于网络,请自行研究使用
一个相对比较好用的VC++遗传算法类,虽然较早,但现在仍有不少朋友挺喜欢用,压缩包内是这个类的源代码 ,暂时没有示例程序,如果你理解了代码 ,使用绝对不成问题。
部分说明:
//进行统计,计算newpop单个染色体的适应度,选出最优染色体
statistic(newpop)
//从1到POPSIZE循环,根据适应度选择,进行交叉,组成oldpop
-A relatively easy to use VC++ genetic algorithm class, although earlier, but there are still quite a lot of friends like to use, compressed package the source code of this class, no sample programs, if you understand the code, the use is definitely not problem. Part Descr iption:// for statistics on the amount newpop single chromosome fitness, select the best chromosome statistic (newpop) // from 1 to POPSIZE cycle, according to the fitness selection, cross-form oldpop
部分说明:
//进行统计,计算newpop单个染色体的适应度,选出最优染色体
statistic(newpop)
//从1到POPSIZE循环,根据适应度选择,进行交叉,组成oldpop
-A relatively easy to use VC++ genetic algorithm class, although earlier, but there are still quite a lot of friends like to use, compressed package the source code of this class, no sample programs, if you understand the code, the use is definitely not problem. Part Descr iption:// for statistics on the amount newpop single chromosome fitness, select the best chromosome statistic (newpop) // from 1 to POPSIZE cycle, according to the fitness selection, cross-form oldpop
(系统自动生成,下载前可以参看下载内容)
下载文件列表
goodGen\Genetic.cpp
.......\Genetic.h
goodGen
.......\Genetic.h
goodGen