⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 运行结果.txt

📁 基于VB语言编写的遗传算法
💻 TXT
字号:
1.比例选择
当前运算到第 100  代    BestIndividual.Fitness= 999.514905670425 
a( 1 )=-.596528711811564 
a( 2 )=-.569877835210497 
a( 3 )= .234156809275055 
a( 4 )= .351069386335295 
a( 5 )=-.555121810886914 
a( 6 )= .164055933477161 
a( 7 )= .326451251699068 
a( 8 )=-.637720886997011 
a( 9 )=-3.96645527978108E-02 
a( 10 )=-.534666390260052 
CurrentBest.Value( 1 )= .755841942938922 
CurrentBest.Value( 2 )= .751089502456472 
CurrentBest.Value( 3 )=-.494986964128524 
CurrentBest.Value( 4 )= .807406930548159 
CurrentBest.Value( 5 )=-.297264472127392 
CurrentBest.Value( 6 )= .261291690954318 
CurrentBest.Value( 7 )= .577080011690557 
CurrentBest.Value( 8 )= .428911818978541 
CurrentBest.Value( 9 )=-2.92769674368795E-02 
CurrentBest.Value( 10 )=-.192335291276433 
剩余平方和erro= 3.29443112020007 
标准方差erro1= .485094329574898 


2 排序选择


'######好的数据结果
当前运算到第 994  代    BestIndividual.Fitness= 999.914308812164 
当前运算到第 995  代    BestIndividual.Fitness= 999.914308812164 
当前运算到第 996  代    BestIndividual.Fitness= 999.914308812164 
当前运算到第 997  代    BestIndividual.Fitness= 999.914308812164 
当前运算到第 998  代    BestIndividual.Fitness= 999.914308812164 
当前运算到第 999  代    BestIndividual.Fitness= 999.914308812164 
当前运算到第 1000  代    BestIndividual.Fitness= 999.914308812164 
a( 1 )=-1.4945732949547 
a( 2 )= .473799376898985 
a( 3 )= .980253427632255 
a( 4 )=-.490981772273236 
a( 5 )=-.449684543898241 
a( 6 )= .8987000405401 
a( 7 )= .085069644006182 
a( 8 )=-.202674022396625 
a( 9 )=-.120708320161948 
a( 10 )=-1.07071998926163E-02 
CurrentBest.Value( 1 )= .17398847997899 
CurrentBest.Value( 2 )= 9.94846443678286E-02 
CurrentBest.Value( 3 )= .147746938139105 
CurrentBest.Value( 4 )= 4.82645053644281E-02 
CurrentBest.Value( 5 )= .182987217656885 
CurrentBest.Value( 6 )= .281379324834918 
CurrentBest.Value( 7 )= .243115052263885 
CurrentBest.Value( 8 )= .185841321076189 
CurrentBest.Value( 9 )=-2.08006651565651E-02 
CurrentBest.Value( 10 )= .187269488044661 
剩余平方和Erro^2= 8.56911878356169E-02 
标准方差erro1= 7.82355362422697E-02 



当前运算到第 992  代    BestIndividual.Fitness= 9.89341071526215 
当前运算到第 993  代    BestIndividual.Fitness= 9.89341071526215 
当前运算到第 994  代    BestIndividual.Fitness= 9.89341071526215 
当前运算到第 995  代    BestIndividual.Fitness= 9.89341071526215 
当前运算到第 996  代    BestIndividual.Fitness= 9.89341071526215 
当前运算到第 997  代    BestIndividual.Fitness= 9.89341071526215 
当前运算到第 998  代    BestIndividual.Fitness= 9.89341071526215 
当前运算到第 999  代    BestIndividual.Fitness= 9.89341071526215 
当前运算到第 1000  代    BestIndividual.Fitness= 9.89341071526215 
a( 1 )= .260138921741811 
a( 2 )= .96199466174825 
a( 3 )=-.297657230426587 
a( 4 )= .573905231771029 
a( 5 )= .216217375284951 
a( 6 )=-.904574316876361 
a( 7 )=-2.11682921996204E-03 
a( 8 )=-.585503267809846 
a( 9 )= 3.08811971807836E-02 
a( 10 )=-.118697259387292 
CurrentBest.Value( 1 )= .219117965448437 
CurrentBest.Value( 2 )= .119552339004048 
CurrentBest.Value( 3 )= .045444923429038 
CurrentBest.Value( 4 )= .268951161472532 
CurrentBest.Value( 5 )= .130230255580849 
CurrentBest.Value( 6 )= .092125971827683 
CurrentBest.Value( 7 )= 8.36776505761632E-02 
CurrentBest.Value( 8 )= 9.26514477327877E-02 
CurrentBest.Value( 9 )= .262469355314056 
CurrentBest.Value( 10 )= 7.16580707328926E-02 
剩余平方和Erro^2= .10658928473785 
标准方差erro1= 8.72554888727229E-02 

 4993      BestIndividual.Fitness= .030941472963832 
 4994      BestIndividual.Fitness= .030941472963832 
 4995      BestIndividual.Fitness= .030941472963832 
 4996      BestIndividual.Fitness= .030941472963832 
 4997      BestIndividual.Fitness= .030941472963832 
 4998      BestIndividual.Fitness= .030941472963832 
 4999      BestIndividual.Fitness= .030941472963832 
 5000      BestIndividual.Fitness= .030941472963832 
a( 1 )=-.571265654899647 
a( 2 )= .473429083032283 
a( 3 )= .229796580368179 
a( 4 )= .109280604400653 
a( 5 )= .185344627062816 
a( 6 )=-.440812317753205 
a( 7 )=-4.15610981452792E-02 
a( 8 )=-.65137243721999 
a( 9 )=-2.03433340890209E-02 
a( 10 )= 4.32187629705298E-02 
CurrentBest.Value( 1 )= 9.64055133657312E-02 
CurrentBest.Value( 2 )= 9.98305055448569E-02 
CurrentBest.Value( 3 )= .209704539208249 
CurrentBest.Value( 4 )= .135780058079364 
CurrentBest.Value( 5 )= .161251107379827 
CurrentBest.Value( 6 )= .123751855306383 
CurrentBest.Value( 7 )= 2.32897745680744E-02 
CurrentBest.Value( 8 )= .163785904609737 
CurrentBest.Value( 9 )= 8.46236206851488E-02 
CurrentBest.Value( 10 )= .214158815269435 
CurrentBest.Value( 11 )= .10779188801473 
CurrentBest.Value( 12 )= .166747061364265 
CurrentBest.Value( 13 )= 9.93045947106062E-02 
CurrentBest.Value( 14 )= .230043285603621 
Erro^2= 3.09414729638037E-02 
 

当前运算到第 9998  代    BestIndividual.Fitness= 1.33598218550333E-02 
当前运算到第 9999  代    BestIndividual.Fitness= 1.33598218550333E-02 
当前运算到第 10000  代    BestIndividual.Fitness= 1.33598218550333E-02 
a( 1 )=-.177085232649316 
a( 2 )=-.290446636417682 
a( 3 )= .150399106183645 
a( 4 )=-.155761093481485 
a( 5 )= 2.41719652867762E-02 
a( 6 )= .241555768033697 
a( 7 )=-5.05877660609344E-03 
a( 8 )= .156377684907532 
a( 9 )=-1.09651778301789E-02 
a( 10 )= .038404744261521 
CurrentBest.Value( 1 )= 6.55535062888755E-02 
CurrentBest.Value( 2 )= .183202872362743 
CurrentBest.Value( 3 )= .149877222673508 
CurrentBest.Value( 4 )= .176669021702069 
CurrentBest.Value( 5 )= .126362877670164 
CurrentBest.Value( 6 )= .23253783754087 
CurrentBest.Value( 7 )= 8.21026379507127E-02 
CurrentBest.Value( 8 )= .16033044759307 
CurrentBest.Value( 9 )= .030465233113486 
CurrentBest.Value( 10 )= .192080411751123 
剩余平方和Erro^2= 1.33598218549854E-02 
标准方差erro1= 3.08913092898604E-02 



当前运算到第 5130  代    BestIndividual.Fitness= 14.2299879524193 
a( 1 )=-.639236636978525 
a( 2 )=-1.16932121541098 
a( 3 )= .513787569529517 
a( 4 )=-.229895879439622 
a( 5 )= 2.89966260231904E-02 
a( 6 )= .789459890832975 
a( 7 )= 1.96666084962582E-02 
a( 8 )=-.459321664494729 
a( 9 )=-6.17333131348092E-02 
a( 10 )=-4.19848600103889E-03 
CurrentBest.Value( 1 )= .134058745425412 
CurrentBest.Value( 2 )= .166603049604605 
CurrentBest.Value( 3 )= .123627927335453 
CurrentBest.Value( 4 )= .143618526751616 
CurrentBest.Value( 5 )= .1242224003625 
CurrentBest.Value( 6 )= .274675295128206 
CurrentBest.Value( 7 )= .222458573933536 
CurrentBest.Value( 8 )= 8.37044394899294E-02 
CurrentBest.Value( 9 )= 5.20937306884427E-02 
CurrentBest.Value( 10 )= .203765985663108 
CurrentBest.Value( 11 )= 8.71675744174683E-02 
CurrentBest.Value( 12 )= .203434111190713 
CurrentBest.Value( 13 )= 8.66421039454342E-02 
CurrentBest.Value( 14 )= .145905697646199 
剩余平方和Erro^2= 4.51691535465174E-02 
标准方差erro1= 5.68011277217762E-02 


 9994      BestIndividual.Fitness= 6.55655874573995E-02 
 9995     BestIndividual.Fitness= 6.55655874573995E-02 
 9996      BestIndividual.Fitness= 6.55655874573995E-02 
 9997      BestIndividual.Fitness= 6.55655874573995E-02 
 9998      BestIndividual.Fitness= 6.55655874573995E-02 
 9999      BestIndividual.Fitness= 6.55655874573995E-02 
 10000      BestIndividual.Fitness= 6.55655874573995E-02 
a( 1 )= .869021843940671 
a( 2 )=-.526381493400976 
a( 3 )=-.527045712680987 
a( 4 )= .386456515981451 
a( 5 )= .377263318814734 
a( 6 )=-.555157052134188 
a( 7 )=-2.45180435335053E-02 
a( 8 )= .158746724091372 
a( 9 )= 6.43161256407536E-02 
a( 10 )=-5.55944161294226E-02 
CurrentBest.Value( 1 )= .138302773335658 
CurrentBest.Value( 2 )= .21277452328129 
CurrentBest.Value( 3 )= 5.58521789566326E-02 
CurrentBest.Value( 4 )= .317672808697007 
CurrentBest.Value( 5 )= 8.76945357827694E-02 
CurrentBest.Value( 6 )= .159797012799888 
CurrentBest.Value( 7 )= 6.96243564672567E-02 
CurrentBest.Value( 8 )= .103979432999474 
CurrentBest.Value( 9 )= .197992898016956 
CurrentBest.Value( 10 )= .108976589112775 
CurrentBest.Value( 11 )= .115821327740589 
CurrentBest.Value( 12 )= .204675789018743 
CurrentBest.Value( 13 )= 6.13984451025253E-02 
CurrentBest.Value( 14 )= .240676198884134 
 Erro^2= 6.55655874573693E-02 

结果好:
当前运行到第 2000代    BestIndividual.Fitness= 2.48750097598531E-02 
a( 1 )= .220908371514889 
a( 2 )= .425475257824922 
a( 3 )=-4.19141951345965E-02 
a( 4 )=-.141709991855249 
a( 5 )=-.139233027690895 
a( 6 )= .211369299973319 
a( 7 )=-1.83796734987174E-02 
a( 8 )=-7.47503569331047E-02 
a( 9 )= 1.53364018748432E-02 
a( 10 )= 4.53467819493025E-02 
CurrentBest.Value( 1 )= 6.39409885290337E-02 
CurrentBest.Value( 2 )= .243213827820224 
CurrentBest.Value( 3 )= .134784774983561 
CurrentBest.Value( 4 )= .184498917046925 
CurrentBest.Value( 5 )= .176686062862619 
CurrentBest.Value( 6 )= .164736410191181 
CurrentBest.Value( 7 )= .108677116510846 
CurrentBest.Value( 8 )= .137637700569911 
CurrentBest.Value( 9 )= 8.37778392529326E-02 
CurrentBest.Value( 10 )= .219916307925553 
CurrentBest.Value( 11 )= .153866218152391 
CurrentBest.Value( 12 )= .136325749690277 
CurrentBest.Value( 13 )= .189036262329192 
CurrentBest.Value( 14 )= .158407038588128 
Erro^2= 2.48750097598741E-02 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -