C++实现的改进遗传算法

上传者: william____ | 上传时间: 2019-12-21 21:54:19 | 文件大小: 8.12MB | 文件类型: rar
改进遗传算法的C++实现。种群初始化采用联赛竞争,保证种群基因优良;轮盘赌选择略有改进;交叉变异概率自适应,相比固定的概率效果提升极为明显。变异步长自适应,避免固定步长找不到最优解的风险。用复杂变态多峰函数测试效果十分不错,相比二进制编码遗传算法精度优势明显。

文件下载

资源详情

( 55 个子文件 8.12MB ) C++实现的改进遗传算法
Genetic_Algorithm
.vs
Project_GA
v14
.suo 37.50KB
进化情况.bmp 869.41KB
Project_GA.VC.db 28.55MB
MatlabGraph.m 1.09KB
Project_GA.sln 1.28KB
Project_GA
TestData12.txt 5.50KB
TestData17_best2.txt 5.57KB
TestData15.txt 4.92KB
TestData13.txt 5.51KB
TestData9_best1.txt 5.83KB
TestData20.txt 6.09KB
TestData7.txt 5.79KB
TestData10.txt 5.74KB
TestData21.txt 11.17KB
TestData1.txt 5.66KB
GAlgorithm.h 3.31KB
MatlabFigure.m 1.25KB
TF3长面.jpg 148.67KB
GAlgorithm.cpp 12.28KB
TestData8.txt 5.82KB
Project_GA.vcxproj 7.32KB
Project_GA.vcxproj.filters 1.13KB
TestData5.txt 5.51KB
TF5变异情况.png 50.68KB
TestData3.txt 5.95KB
TestData19.txt 6.34KB
TestData11.txt 5.64KB
TF4一般测试情况绘图.bmp 869.41KB
TF1全貌.png 151.57KB
TestData4.txt 5.62KB
TestData6.txt 5.55KB
TestGraph.jpg 88.18KB
TestData18.txt 5.54KB
TestData14.txt 5.68KB
Test.cpp 3.29KB
TF2宽面.jpg 190.82KB
TF32目标峰.jpg 151.39KB
TestData2.txt 5.44KB
Debug
Test.obj 421.08KB
vc140.pdb 420.00KB
vc140.idb 459.00KB
GAlgorithm.obj 414.28KB
Project_GA.tlog
CL.write.1.tlog 1.33KB
CL.read.1.tlog 23.05KB
CL.command.1.tlog 1.36KB
link.write.1.tlog 664B
link.command.1.tlog 1.36KB
link.read.1.tlog 3.07KB
Project_GA.lastbuildstate 207B
Project_GA.Build.CppClean.log 1023B
Project_GA.log 243B
TestData16.txt 5.51KB
Debug
Project_GA.pdb 1.17MB
Project_GA.ilk 716.54KB
Project_GA.exe 167.00KB
[{"title":"( 55 个子文件 8.12MB ) C++实现的改进遗传算法","children":[{"title":"Genetic_Algorithm","children":[{"title":".vs","children":[{"title":"Project_GA","children":[{"title":"v14","children":[{"title":".suo <span style='color:#111;'> 37.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"进化情况.bmp <span style='color:#111;'> 869.41KB </span>","children":null,"spread":false},{"title":"Project_GA.VC.db <span style='color:#111;'> 28.55MB </span>","children":null,"spread":false},{"title":"MatlabGraph.m <span style='color:#111;'> 1.09KB </span>","children":null,"spread":false},{"title":"Project_GA.sln <span style='color:#111;'> 1.28KB </span>","children":null,"spread":false},{"title":"Project_GA","children":[{"title":"TestData12.txt <span style='color:#111;'> 5.50KB </span>","children":null,"spread":false},{"title":"TestData17_best2.txt <span style='color:#111;'> 5.57KB </span>","children":null,"spread":false},{"title":"TestData15.txt <span style='color:#111;'> 4.92KB </span>","children":null,"spread":false},{"title":"TestData13.txt <span style='color:#111;'> 5.51KB </span>","children":null,"spread":false},{"title":"TestData9_best1.txt <span style='color:#111;'> 5.83KB </span>","children":null,"spread":false},{"title":"TestData20.txt <span style='color:#111;'> 6.09KB </span>","children":null,"spread":false},{"title":"TestData7.txt <span style='color:#111;'> 5.79KB </span>","children":null,"spread":false},{"title":"TestData10.txt <span style='color:#111;'> 5.74KB </span>","children":null,"spread":false},{"title":"TestData21.txt <span style='color:#111;'> 11.17KB </span>","children":null,"spread":false},{"title":"TestData1.txt <span style='color:#111;'> 5.66KB </span>","children":null,"spread":false},{"title":"GAlgorithm.h <span style='color:#111;'> 3.31KB </span>","children":null,"spread":false},{"title":"MatlabFigure.m <span style='color:#111;'> 1.25KB </span>","children":null,"spread":false},{"title":"TF3长面.jpg <span style='color:#111;'> 148.67KB </span>","children":null,"spread":false},{"title":"GAlgorithm.cpp <span style='color:#111;'> 12.28KB </span>","children":null,"spread":false},{"title":"TestData8.txt <span style='color:#111;'> 5.82KB </span>","children":null,"spread":false},{"title":"Project_GA.vcxproj <span style='color:#111;'> 7.32KB </span>","children":null,"spread":false},{"title":"Project_GA.vcxproj.filters <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false},{"title":"TestData5.txt <span style='color:#111;'> 5.51KB </span>","children":null,"spread":false},{"title":"TF5变异情况.png <span style='color:#111;'> 50.68KB </span>","children":null,"spread":false},{"title":"TestData3.txt <span style='color:#111;'> 5.95KB </span>","children":null,"spread":false},{"title":"TestData19.txt <span style='color:#111;'> 6.34KB </span>","children":null,"spread":false},{"title":"TestData11.txt <span style='color:#111;'> 5.64KB </span>","children":null,"spread":false},{"title":"TF4一般测试情况绘图.bmp <span style='color:#111;'> 869.41KB </span>","children":null,"spread":false},{"title":"TF1全貌.png <span style='color:#111;'> 151.57KB </span>","children":null,"spread":false},{"title":"TestData4.txt <span style='color:#111;'> 5.62KB </span>","children":null,"spread":false},{"title":"TestData6.txt <span style='color:#111;'> 5.55KB </span>","children":null,"spread":false},{"title":"TestGraph.jpg <span style='color:#111;'> 88.18KB </span>","children":null,"spread":false},{"title":"TestData18.txt <span style='color:#111;'> 5.54KB </span>","children":null,"spread":false},{"title":"TestData14.txt <span style='color:#111;'> 5.68KB </span>","children":null,"spread":false},{"title":"Test.cpp <span style='color:#111;'> 3.29KB </span>","children":null,"spread":false},{"title":"TF2宽面.jpg <span style='color:#111;'> 190.82KB </span>","children":null,"spread":false},{"title":"TF32目标峰.jpg <span style='color:#111;'> 151.39KB </span>","children":null,"spread":false},{"title":"TestData2.txt <span style='color:#111;'> 5.44KB </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"Test.obj <span style='color:#111;'> 421.08KB </span>","children":null,"spread":false},{"title":"vc140.pdb <span style='color:#111;'> 420.00KB </span>","children":null,"spread":false},{"title":"vc140.idb <span style='color:#111;'> 459.00KB </span>","children":null,"spread":false},{"title":"GAlgorithm.obj <span style='color:#111;'> 414.28KB </span>","children":null,"spread":false},{"title":"Project_GA.tlog","children":[{"title":"CL.write.1.tlog <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false},{"title":"CL.read.1.tlog <span style='color:#111;'> 23.05KB </span>","children":null,"spread":false},{"title":"CL.command.1.tlog <span style='color:#111;'> 1.36KB </span>","children":null,"spread":false},{"title":"link.write.1.tlog <span style='color:#111;'> 664B </span>","children":null,"spread":false},{"title":"link.command.1.tlog <span style='color:#111;'> 1.36KB </span>","children":null,"spread":false},{"title":"link.read.1.tlog <span style='color:#111;'> 3.07KB </span>","children":null,"spread":false},{"title":"Project_GA.lastbuildstate <span style='color:#111;'> 207B </span>","children":null,"spread":false}],"spread":false},{"title":"Project_GA.Build.CppClean.log <span style='color:#111;'> 1023B </span>","children":null,"spread":false},{"title":"Project_GA.log <span style='color:#111;'> 243B </span>","children":null,"spread":false}],"spread":false},{"title":"TestData16.txt <span style='color:#111;'> 5.51KB </span>","children":null,"spread":false}],"spread":false},{"title":"Debug","children":[{"title":"Project_GA.pdb <span style='color:#111;'> 1.17MB </span>","children":null,"spread":false},{"title":"Project_GA.ilk <span style='color:#111;'> 716.54KB </span>","children":null,"spread":false},{"title":"Project_GA.exe <span style='color:#111;'> 167.00KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

  • 远去的栀子花 :
    挺好的,优化的特好
    2018-06-08

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明
服务器状态检查中...