搜索资源列表
GA.cpp
- 选择:根据遗传算法的收敛定理,赌轮法(蒙特卡罗法) ,进行个体选择。交叉:交叉互换的重要特征是它能产生不同于父体的子体。交叉概率越大,交叉操作的可能性也越大 如果交叉率太低,收敛速度可能降低。单阈值分割由于只有一个参数,所以采用一点交叉,在此设置交叉概率为0.65。变异:变异概率为0.01 。-This is a simple genetic algorithm implementation where the evaluation function takes positive values
jibenrengongshichangfa
- 这是最基本的人工势场法,同时也做了很多注释,初始的是比较完美的数值仿真。但是,如果将注释中的语句与程序中的互换,就可以看到传统人工势场的缺陷。- This is the basic artificial potential field, but also do a lot of notes, the initial value is more perfect simulation. However, if you comment statements and program exchange