投影寻踪蛙跳程序(c )(projection pursuit leapfrog procedure (c ))

投影寻踪蛙跳程序(c )(projection pursuit leapfrog procedure (c ))

ID:36017533

大小:28.27 KB

页数:40页

时间:2019-04-29

投影寻踪蛙跳程序(c  )(projection pursuit leapfrog procedure (c  ))_第1页
投影寻踪蛙跳程序(c  )(projection pursuit leapfrog procedure (c  ))_第2页
投影寻踪蛙跳程序(c  )(projection pursuit leapfrog procedure (c  ))_第3页
投影寻踪蛙跳程序(c  )(projection pursuit leapfrog procedure (c  ))_第4页
投影寻踪蛙跳程序(c  )(projection pursuit leapfrog procedure (c  ))_第5页
资源描述:

《投影寻踪蛙跳程序(c )(projection pursuit leapfrog procedure (c ))》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库

1、投影寻踪蛙跳程序(c++)(Projectionpursuitleapfrogprocedure(c++))#包括#包括<<时间。”#包括<窗口。”#包括<<数学。”#包括<<程序。”#定义1/**/试验次数#defineG100/*混合迭代次数*/#定义P100/**/个体总数#定义m10/**/族群数#定义我10/**/10因此,一个族群中的个体数是#定义V10/**/个体维数#定义N10/**/族群内更新次数#定义最大1#defineMIN0#定义通用12#定义GNV//双DMAX=10;/*蛙跳的最大值*///双dmin=0.4;/*蛙跳的最大值*/in

2、tI1、I2、I3、I4,II,III,IA,I6,I7,国旗;int伟志[P];//分组时起始位置;intbanj=1;//邻域半径;doublenongchang[gm][gn]={209.99,7264769,52.054525,3793349,905658,11799682,227.94,3757344,34595.786,1166437,18.59,1441043,16.75009,536807,85190,3938662,23.79,180016,77517.106,156845,21.41,1592999,11.232336,396336,19779,3997471

3、,16.40,193343,74404.437,186566,49.39,1623252,27.720342,564935,42154,2885713,29.48,400505,32866.005,276422,125.23,1344442,45.918827,690033,74544,969431,44.55,587015,10735.782,177721,102.89,1425515,39.685307,619805,81930,587346,29.88,324571,13854.748,106836,51.63,767347,39.581571,285020,33270,4

4、26575,20.80,283468,14862.425,81257,49.63,600216,44.138443,429643,70154,309739,16.12,269275,12093.814,78590,36.42,626843,48.930274,415354,78681,195783,26.90,263852,17211.505,85776,34.51,585226,36.474114,434168,39537,473480,14.68,198431,16958.157,65928,46.57,224369,48.286974,161042,33019,105294

5、,11.60,126341,4817.8871,58150,54.77,251990,56.305806,234607,2400,20767,16.43,107011,4600.8764,39027};//doublenongchang[gm][gn]={0.156,0.133,0.146,//0.157,0.123,0.123,//0.159,0.163,0.033};双TYZ[GM]={0,0,0};双市泰泽=0;双tysz=0;doubleyueshu1=10;双nongchanggy[通用][肾炎];双nongchangmax[GN];双nongchangmin[GN];

6、在E=0;//电荷;intb=0;//电荷:doubleD=MAX/10;/*蛙跳的最大值*/doubleC5=0.0;//随机分组intE1=0;//是否自适应求惯性及自学习因子doubleC3=0.0;//惯性学习参数doubleC4=0.0;//自学习参数doublePrecision=5;//达优精度intE2=0;//是否轮转1转0不转intlzcs=3;//轮转层次;双C1=2.05;双C2=1;//基本算法参数doubleXM;双XD;国际try_number=0;//最差例子自学习次数//双C=1;//加速因子国际try_max=5;doublehelih=0.0

7、;双stepmax=最大/16;双步;doublestepmin=0.002;#定义R((双)(rand()%rand_max)/rand_max)//1/rand_max0-1之间的随机数,精度为//#定义R1rand()%100/100静态int;双π=3.14159265358979;双公差=00000000000000001//收敛精度;双C3=0.03;//扰动幅度双E=2.718281828459;//自然对数底数int=5;intbz=0;//扰动因子标志双AW[V

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。