基本遗传算法参数
-------------------------------------------------
种群大小(popsize) = 30
染色体长度(lchrom) = 100
最大进化代数(maxgen) = 300
交叉概率(pcross) = 0.800000
变异概率(pmutation) = 0.005000
-------------------------------------------------
第 1 / 10 次运行: 当前代为 0, 共 300 代
--------------------------------------------------------------------------------
模拟计算统计报告
世代数 0 世代数 1
个体 染色体编码 适应度 父个体 交叉位置 染色体编码 适应度
--------------------------------------------------------------------------------
1) 0110110010110001111101111011101000010101010111000101101111110010010100000000000010111100010110100100 1.462834 | (17,18) 36 0001001101110101011110110001010101011011001101000100101000000010010100100101010001111110110101111100 2.236059
2) 0011110111011110001000011001010100001110101100001010111111100110111011010000001001010100001110100110 1.955083 | (17,18) 36 0011001001100001100011100110010011001101001001010100101110011101101001000000001001001010011100111101 2.503386
3) 0110101000111110000000110100010011101101111111111100111000011110010000011111101000101111011010110111 1.065694 | (24,27) 41 0100101111010111101101100110100010000100011000110011111010111001011110011001111100101000111101010101 2.101747
4) 1010101110101000100000010000101100111011101001111110111000110001111100110111010101100101011111111001 2.636901 | (24,27) 41 0011110011001011011010111010001100011101000110111011000001111101000001011110000101010000000110011100 1.761261
5) 0101110100111001101100011110010111100100000100001011010010111011100011100001010100110111101111011000 2.499554 | ( 9,23) 0 1110100110001001011010000001000100001101101101111010100100101010100000000010000001111011001001010001 2.376636
6) 0011010001110101000000101101010000011011001001100101010100101100010101101010110011000110011101100100 1.465015 | ( 9,23) 0 0110101011010000110110000100010111000001001100101001111110001101100100011111000000000111100100001101 2.870679
7) 1100110011001111111111001010100010101101010010010101100011001111101011000110111011010110100001001000 1.710430 | (18,25) 0 0011001001100001100011100110010011001101001001010100101110011101010100100101010001111110110101111100 2.236059
8) 0100101000000110010011111001110100011101101111110010100001101110100111011101100111010110110110100100 1.459673 | (18,25) 0 0111110101101000101110100000111001011011110100110110100100000001111010000001110100110011110001111010 1.985799
9) 1110100110001001011010000001000100001101101101111010100100101010100000000010000001111011001001010001 2.376636 | ( 4, 5) 51 1010101110101000100000010000101100111011101001111110111000110001111100110111010101100101101111011000 2.496851
10) 1111001100010011000011010011011101110001110111010001100010000011101001010101101101011111110001000001 1.612339 | ( 4, 5) 51 0001110100111001101100011110010111100100001100101011010010111011100011100001010100110111011111111001 2.633269
11) 0101010010001111101010101111001011000101010011100001001010101110011000011000110111010101001011001110 1.649124 | (30, 4) 19 0111111011001011010111110011111101100011111111000011010100001111010100110111010101100100011111111001 2.643475
12) 1110101001010001000001011110001001000111011100100000001111110010111011111100010101011000001111100111 1.178253 | (30, 4) 19 1010101110101000100000010000101100111011101001111110111000110001111100010111010010111001100011111000 2.571051
13) 1001000010111111001101101001011010110011101001000010101011101100110111011101001101110010001001101110 1.835308 | (13,19) 32 1001000010111111001101101001011010110011101001000010101011101100110111011101001101110010001001101111 2.804741
14) 0111000111000010100011100010001100111110000010001100101100101110000110110010101100011011000100101000 1.271972 | (13,19) 32 0111110110000011100110000011001000000010011111100010010110010000010010101101101111100111001011000111 3.510938
15) 0001110010010111010111110010000000011110001011001000101100011101100101001111000101111001100101100111 1.874010 | ( 2,28) 59 0011110111011110001000011001010100001110101100001010111111100110111011010011110111100110101110101000 1.268709
16) 0001011010000101100111101100101100101001100001011011111100110110001100011100010011010101100111011110 2.447982 | ( 2,28) 59 0111100101000111001000010110011010110111010111010001101101011010001101110000001001010100001110100110 1.955083
17) 0001001101110101011110110001010101011011001101000100101000000010101001000000001001001010011100111101 2.503386 | (17,13) 3 0001001101110101011110110001010101011011001101000100101011101100110111011101001101110010001001101110 1.835308
18) 0011001001100001100011100110010011001101001001010100101110011101010100100101010001111110110101111100 2.236059 | (17,13) 3 1001000010111111001101101001011010110011101001000010101000000010101001000000001001001010011100111101 2.503386
19) 0111110110000011100110000011001000000010011111100010010110010000010010101001101111100111001011000111 3.510939 | (29,17) 4 1100111000101000110010101001001011010110110100010000110010000010000001101100001001001010011100111101 2.503387
20) 1001101000010101011011010001111000100111110011010000100001100010111110101101010010010111011111001101 1.704882 | (29,17) 4 0001001101110101011110110001010101011011001101000100101000000010101001000000000010111111010000000101 2.576185
21) 1100111101011011111010110001111110010111001101010101010000111011011010100011100101010011101011100111 1.406538 | ( 4,29) 14 1010101110101000100000010000101100111011101001111110111000110001111100010111010101100111010000000101 2.577468
22) 0110101011101101110111001001100010111111101011111011011010000000010001001100011110001001011101010011 1.117019 | ( 4,29) 14 1100111000101000110010101001001011010110110100010000110010000010000001101100000010111101011111111001 2.635745
23) 0110101011010000110110000100010111000001001100101001111110001101100100011111000000000111100100001101 2.870679 | (16,30) 1 0001011110000101100111101100101100101001100001011011111100110110001100011100010010111001100011111000 2.571052
24) 0100101111010111101101100110100010000100011000110011101010111001000001011110000101010000000110011100 1.761261 | (16,30) 1 0111111011001011010111110011111101100011111111000011010100001111010100010111010011010101100111011110 2.447982
25) 0111110101101000101110100000111001011011110100110110100100000001111010000101110100110011110001111010 1.985799 | (23,13) 36 0110101011010000110110000100010111000001001100101001111110001101100100011111000000000111100100101110 1.682170
26) 1100101000100011010100100110000111011000010101010110001110011010000110010010010010000101010001110000 2.730997 | (23,13) 36 1001000010111111001101101001011010110011101001000010101011101100110111011101001101110010001001001101 2.365934
27) 0011110011001011011010111010001100011101000110111011000001111101011110011001111100101000111101010101 2.101747 | (16,22) 0 0001011010000101100111101100101100101001100001011011111100110110001100011100010011010101100111011110 2.447982
28) 0111100101000111001000010110011010110111010111010001101101011010001101110011110111100110101110101000 1.268709 | (16,22) 0 0110101011101101110111001001100011111111101011111011011010000000010001001100011110001001011101010011 1.117019
29) 1100111000101000110010101001001011010110110100010000110010000010000001101100000010111111010000000101 2.576184 | ( 6,25) 53 001101000111010100000010110101000001101100100110010101010010110001010111
没有合适的资源?快使用搜索试试~ 我知道了~
GA.rar_GA-PSO_GA.rar_Vc_二进制 遗传 算法_遗传算法 vc
共73个文件
opt:6个
dsp:6个
dsw:6个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 116 浏览量
2022-09-20
17:18:45
上传
评论
收藏 1.39MB RAR 举报
温馨提示
VC 遗传算法。文件中包括多个程序代码,有最基本二进制遗传代码。 另外包含多个改进遗传算法代码,C语言开发。在VC下可运行。 唯一需要改进的是:第一:目标函数(结合你自己需要求解的问题) 第二:随机函数。(代码中是自己写的库,在一些电脑上运行不正确。可以换成已有的rand)。在我另外上传的一个资料中已经更正。但这是最原始的,容易理解。所以上传上来。
资源详情
资源评论
资源推荐
收起资源包目录
GA.rar (73个子文件)
GA
2-2.zip 2KB
遗传算法基本算法
ga.ncb 49KB
ga.dsp 4KB
ga.opt 48KB
ga.plg 0B
sga.c 18KB
outfp.txt 12.08MB
Debug
sga.sbr 0B
ga.pch 217KB
ga.exe 224KB
ga.pdb 401KB
ga.ilk 232KB
vc60.idb 33KB
sga.obj 38KB
ga.bsc 49KB
vc60.pdb 52KB
outfp.txt 12.08MB
ga.dsw 527B
分层遗传改进算法函数最优化
ga6.opt 48KB
ga6.dsw 529B
ga6.plg 240B
ga6.ncb 57KB
ga6.dsp 4KB
sga.c 25KB
2-1
2-1.tex 1KB
2-1.cpp 4KB
ga_cpp版_但有点问题
ga.ncb 33KB
ga.dsp 4KB
ga.opt 48KB
ga.plg 1KB
sga.cpp 8KB
Debug
ga.dsw 527B
2-1.zip 2KB
基本遗传算法的函数最优化(预选择机制)
ga.ncb 49KB
ga.dsp 4KB
ga.opt 53KB
output 5.05MB
ga.plg 238B
sga.c 19KB
Debug
sga.sbr 0B
ga.pch 217KB
ga.exe 224KB
ga.pdb 505KB
ga.ilk 249KB
output 5.05MB
vc60.idb 33KB
sga.obj 40KB
ga.bsc 57KB
vc60.pdb 52KB
ga.dsw 527B
函数最优化任意随机交叉父体
OUTPUT_M.txt 24.16MB
ga.ncb 33KB
ga.dsp 4KB
ga.opt 48KB
ga.plg 0B
sga.c 20KB
Debug
sga.sbr 12KB
ga.pch 217KB
ga.exe 224KB
ga.pdb 505KB
ga.ilk 266KB
vc60.idb 33KB
sga.obj 40KB
ga.bsc 57KB
vc60.pdb 52KB
ga.dsw 527B
自适应遗传优化算法函数最优化
ga.ncb 33KB
ga.dsp 4KB
ga.opt 48KB
ga.plg 3KB
sga.c 18KB
ga.dsw 527B
2-3.zip 2KB
共 73 条
- 1
林当时
- 粉丝: 113
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0