锘??xml version="1.0" encoding="utf-8" standalone="yes"?>久久久久久亚洲Av无码精品专口,久久99国产综合精品免费,亚洲中文久久精品无码ww16http://m.shnenglu.com/assist/archive/2007/11/27/24736.html#37374ththTue, 27 Nov 2007 03:40:00 GMThttp://m.shnenglu.com/assist/archive/2007/11/27/24736.html#37374

th 2007-11-27 11:40 鍙戣〃璇勮
]]>
re: VC++紿楀彛鍒嗗壊涓庨氫俊瀹炰緥[鏈櫥褰昡http://m.shnenglu.com/assist/archive/2007/11/27/24736.html#37350ththMon, 26 Nov 2007 16:16:00 GMThttp://m.shnenglu.com/assist/archive/2007/11/27/24736.html#37350

th 2007-11-27 00:16 鍙戣〃璇勮
]]>
re: C++閬椾紶綆楁硶婧愮▼搴?/title><link>http://m.shnenglu.com/assist/archive/2007/10/21/24873.html#34733</link><dc:creator>starlet</dc:creator><author>starlet</author><pubDate>Sun, 21 Oct 2007 00:15:00 GMT</pubDate><guid>http://m.shnenglu.com/assist/archive/2007/10/21/24873.html#34733</guid><description><![CDATA[浣滆呬笉鐭ラ亾鏈夋病鏈夎仈緋繪柟寮忥紝鏈夐棶棰樿鏁?img src ="http://m.shnenglu.com/assist/aggbug/34733.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.shnenglu.com/assist/" target="_blank">starlet</a> 2007-10-21 08:15 <a href="http://m.shnenglu.com/assist/archive/2007/10/21/24873.html#34733#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>re: VC++紿楀彛鍒嗗壊涓庨氫俊瀹炰緥http://m.shnenglu.com/assist/archive/2007/10/06/24736.html#33597aaaaSat, 06 Oct 2007 02:26:00 GMThttp://m.shnenglu.com/assist/archive/2007/10/06/24736.html#33597

aa 2007-10-06 10:26 鍙戣〃璇勮
]]>
re: VC++紿楀彛鍒嗗壊涓庨氫俊瀹炰緥http://m.shnenglu.com/assist/archive/2007/10/06/24736.html#33596aaaaSat, 06 Oct 2007 02:13:00 GMThttp://m.shnenglu.com/assist/archive/2007/10/06/24736.html#33596Release/SplitWndDemo.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.

鎬庝箞鍥炰簨?

aa 2007-10-06 10:13 鍙戣〃璇勮
]]>
re: C++閬椾紶綆楁硶婧愮▼搴?/title><link>http://m.shnenglu.com/assist/archive/2007/06/25/24873.html#26916</link><dc:creator>7777</dc:creator><author>7777</author><pubDate>Mon, 25 Jun 2007 09:33:00 GMT</pubDate><guid>http://m.shnenglu.com/assist/archive/2007/06/25/24873.html#26916</guid><description><![CDATA[鍨冨溇 浠涔堜綘閮藉線涓婁紶<img src ="http://m.shnenglu.com/assist/aggbug/26916.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.shnenglu.com/assist/" target="_blank">7777</a> 2007-06-25 17:33 <a href="http://m.shnenglu.com/assist/archive/2007/06/25/24873.html#26916#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>re: C++閬椾紶綆楁硶婧愮▼搴?/title><link>http://m.shnenglu.com/assist/archive/2007/05/27/24873.html#24942</link><dc:creator>姹熸按鍏?/dc:creator><author>姹熸按鍏?/author><pubDate>Sun, 27 May 2007 11:04:00 GMT</pubDate><guid>http://m.shnenglu.com/assist/archive/2007/05/27/24873.html#24942</guid><description><![CDATA[鍟婂搱 褰撳垵鎴戜篃鍐欒繃 鍙槸娌℃湁鍍忚繖鏍峰姝ゅ叿鏈夐仐浼犵畻娉曠殑鐗圭偣 褰撴椂鍙槸涓轟簡(jiǎn)閫変慨璇懼啓鐨勪竴涓叿鏈夊熀鏈姛鑳界殑GA Program<img src ="http://m.shnenglu.com/assist/aggbug/24942.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.shnenglu.com/assist/" target="_blank">姹熸按鍏?/a> 2007-05-27 19:04 <a href="http://m.shnenglu.com/assist/archive/2007/05/27/24873.html#24942#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>re: C++閬椾紶綆楁硶婧愮▼搴?/title><link>http://m.shnenglu.com/assist/archive/2007/05/26/24873.html#24898</link><dc:creator>pass86</dc:creator><author>pass86</author><pubDate>Sat, 26 May 2007 09:38:00 GMT</pubDate><guid>http://m.shnenglu.com/assist/archive/2007/05/26/24873.html#24898</guid><description><![CDATA[鎴戜篃鍐欒繃涓鐐癸紝浠庝功涓婃敼緙栫殑銆?br>/********************************************************************<br> Filename: aiWorld.h<br> Purpose: 閬椾紶綆楁硶錛岃姳鏈墊紨鍖栥?br> Author: pass86<br> E-mail: pass86@gmail.com<br> Created: 2007/03/29<br> Id:<br> Copyright:<br> Licence:<br>*********************************************************************/<br>#ifndef AIWORLD_H_<br>#define AIWORLD_H_<br><br>#include <iostream><br>#include <ctime><br>#include <cstdlib><br>#include <cmath><br><br>#define kMaxFlowers 10<br><br>using std::cout;<br>using std::endl;<br><br>class ai_World<br>{<br>public:<br> ai_World()<br> {<br> srand(time(0));<br> }<br> ~ai_World() {}<br><br> int temperature[kMaxFlowers]; //娓╁害<br> int water[kMaxFlowers]; //姘磋川<br> int sunlight[kMaxFlowers]; //闃沖厜<br> int nutrient[kMaxFlowers]; //鍏誨垎<br> int beneficialInsect[kMaxFlowers]; //鐩婅櫕<br> int harmfulInsect[kMaxFlowers]; //瀹寵櫕<br><br> int currentTemperature;<br> int currentWater;<br> int currentSunlight;<br> int currentNutrient;<br> int currentBeneficialInsect;<br> int currentHarmfulInsect;<br><br> /**<br> 絎竴浠h姳鏈?br> */<br> void Encode();<br><br> /**<br> 鑺辨湹閫傚悎鍑芥暟<br> */<br> int Fitness(int flower);<br><br> /**<br> 鑺辨湹婕斿寲<br> */<br> void Evolve();<br><br> /**<br> 榪斿洖鍖洪棿[start, end]鐨勯殢鏈烘暟<br> */<br> inline int tb_Rnd(int start, int end)<br> {<br> if (start > end)<br> return 0;<br> else<br> {<br> //srand(time(0));<br> return (rand() % (end + 1) + start);<br> }<br> }<br><br> /**<br> 鏄劇ず鏁板?br> */<br> void show();<br>};<br>// ----------------------------------------------------------------- //<br>void ai_World::Encode()<br>// ----------------------------------------------------------------- //<br><br>{<br> int i;<br><br> for (i=0;i<kMaxFlowers;i++)<br> {<br> temperature[i]=tb_Rnd(1,75);<br> water[i]=tb_Rnd(1,75);<br> sunlight[i]=tb_Rnd(1,75);<br> nutrient[i]=tb_Rnd(1,75);<br> beneficialInsect[i]=tb_Rnd(1,75);<br> harmfulInsect[i]=tb_Rnd(1,75);<br> }<br><br> currentTemperature=tb_Rnd(1,75);<br> currentWater=tb_Rnd(1,75);<br> currentSunlight=tb_Rnd(1,75);<br> currentNutrient=tb_Rnd(1,75);<br> currentBeneficialInsect=tb_Rnd(1,75);<br> currentHarmfulInsect=tb_Rnd(1,75);<br><br> currentTemperature=tb_Rnd(1,75);<br> currentWater=tb_Rnd(1,75);<br> currentSunlight=tb_Rnd(1,75);<br> currentNutrient=tb_Rnd(1,75);<br> currentBeneficialInsect=tb_Rnd(1,75);<br> currentHarmfulInsect=tb_Rnd(1,75);<br><br>}<br>// ----------------------------------------------------------------- //<br>int ai_World::Fitness(int flower)<br>// ----------------------------------------------------------------- //<br><br>{<br> int theFitness;<br><br><br> theFitness=abs(temperature[flower]-currentTemperature);<br> theFitness=theFitness+abs(water[flower]-currentWater);<br> theFitness=theFitness+abs(sunlight[flower]-currentSunlight);<br> theFitness=theFitness+abs(nutrient[flower]-currentNutrient);<br> theFitness=theFitness+abs(beneficialInsect[flower]-currentBeneficialInsect);<br> theFitness=theFitness+abs(harmfulInsect[flower]-currentHarmfulInsect);<br><br> return (theFitness);<br><br>}<br>// ----------------------------------------------------------------- //<br>void ai_World::Evolve()<br>// ----------------------------------------------------------------- //<br><br>{<br> int fitTemperature[kMaxFlowers];<br> int fitWater[kMaxFlowers];<br> int fitSunlight[kMaxFlowers];<br> int fitNutrient[kMaxFlowers];<br> int fitBeneficialInsect[kMaxFlowers];<br> int fitHarmfulInsect[kMaxFlowers];<br> int fitness[kMaxFlowers];<br> int i;<br> int leastFit=0;<br> int leastFitIndex;<br><br> for (i=0;i<kMaxFlowers;i++)<br> if (Fitness(i)>leastFit)<br> {<br> leastFit=Fitness(i);<br> leastFitIndex=i;<br> }<br><br> temperature[leastFitIndex]=temperature[tb_Rnd(0,kMaxFlowers - 1)];<br> water[leastFitIndex]=water[tb_Rnd(0,kMaxFlowers - 1)];<br> sunlight[leastFitIndex]=sunlight[tb_Rnd(0,kMaxFlowers - 1)];<br> nutrient[leastFitIndex]=nutrient[tb_Rnd(0,kMaxFlowers - 1)];<br> beneficialInsect[leastFitIndex]=beneficialInsect[tb_Rnd(0,kMaxFlowers - 1)];<br> harmfulInsect[leastFitIndex]=harmfulInsect[tb_Rnd(0,kMaxFlowers - 1)];<br><br> for (i=0;i<kMaxFlowers;i++)<br> {<br> fitTemperature[i]=temperature[tb_Rnd(0,kMaxFlowers - 1)];<br> fitWater[i]=water[tb_Rnd(0,kMaxFlowers - 1)];<br> fitSunlight[i]=sunlight[tb_Rnd(0,kMaxFlowers - 1)];<br> fitNutrient[i]=nutrient[tb_Rnd(0,kMaxFlowers - 1)];<br> fitBeneficialInsect[i]=beneficialInsect[tb_Rnd(0,kMaxFlowers - 1)];<br> fitHarmfulInsect[i]=harmfulInsect[tb_Rnd(0,kMaxFlowers - 1)];<br> }<br><br> for (i=0;i<kMaxFlowers;i++)<br> {<br> temperature[i]=fitTemperature[i];<br> water[i]=fitWater[i];<br> sunlight[i]=fitSunlight[i];<br> nutrient[i]=fitNutrient[i];<br> beneficialInsect[i]=fitBeneficialInsect[i];<br> harmfulInsect[i]=fitHarmfulInsect[i];<br> }<br><br> for (i=0;i<kMaxFlowers;i++)<br> {<br> if (tb_Rnd(1,100)==1)<br> temperature[i]=tb_Rnd(1,75);<br> if (tb_Rnd(1,100)==1)<br> water[i]=tb_Rnd(1,75);<br> if (tb_Rnd(1,100)==1)<br> sunlight[i]=tb_Rnd(1,75);<br> if (tb_Rnd(1,100)==1)<br> nutrient[i]=tb_Rnd(1,75);<br> if (tb_Rnd(1,100)==1)<br> beneficialInsect[i]=tb_Rnd(1,75);<br> if (tb_Rnd(1,100)==1)<br> harmfulInsect[i]=tb_Rnd(1,75);<br> }<br><br>}<br>void ai_World::show()<br>{<br>// cout << "\t temperature water sunlight nutrient beneficialInsect harmfulInsect\n";<br> cout << "current\t " << currentTemperature << "\t " << currentWater << "\t ";<br> cout << currentSunlight << "\t " << currentNutrient << "\t ";<br> cout << currentBeneficialInsect << "\t " << currentHarmfulInsect << "\n";<br> for (int i=0;i<kMaxFlowers;i++)<br> {<br> cout << "Flower " << i << ": ";<br> cout << temperature[i] << "\t ";<br> cout << water[i] << "\t ";<br> cout << sunlight[i] << "\t ";<br> cout << nutrient[i] << "\t ";<br> cout << beneficialInsect[i] << "\t ";<br> cout << harmfulInsect[i] << "\t ";<br> cout << endl;<br> }<br>}<br>#endif // AIWORLD_H_<br><br>//test.cpp<br>#include <iostream><br>#include "ai_World.h"<br><br>using namespace std;<br><br>int main()<br>{<br> ai_World a;<br> a.Encode();<br>// a.show();<br> for (int i = 0; i < 10; i++)<br> {<br> cout << "Generation " << i << endl;<br> a.Evolve();<br> a.show();<br> }<br><br> system("PAUSE");<br> return 0;<br>}<br><img src ="http://m.shnenglu.com/assist/aggbug/24898.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.shnenglu.com/assist/" target="_blank">pass86</a> 2007-05-26 17:38 <a href="http://m.shnenglu.com/assist/archive/2007/05/26/24873.html#24898#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <p>感谢您访问我们的网站,您可能还对以下资源感兴趣:</p> <a href="http://m.shnenglu.com/" title="精品视频久久久久">精品视频久久久久</a> <div class="friend-links"> </div> </div> </footer> <a href="http://www.bjyjyyy.cn" target="_blank">亚洲国产成人久久综合一</a>| <a href="http://www.hjj9588.cn" target="_blank">久久久久久久国产免费看</a>| <a href="http://www.qkl888.cn" target="_blank">亚洲精品成人久久久</a>| <a href="http://www.dgjiajun.net.cn" target="_blank">久久久WWW成人</a>| <a href="http://www.upboss.cn" target="_blank">久久国语露脸国产精品电影</a>| <a href="http://www.matory.cn" target="_blank">国内精品综合久久久40p</a>| <a href="http://www.hgysc.cn" target="_blank">精品久久人妻av中文字幕</a>| <a href="http://www.pz897.cn" target="_blank">日本免费久久久久久久网站</a>| <a href="http://www.58city.cn" target="_blank">亚洲精品高清一二区久久</a>| <a href="http://www.geyr.cn" target="_blank">久久久久女人精品毛片</a>| <a href="http://www.9xz.com.cn" target="_blank">国内精品久久久久久不卡影院</a>| <a href="http://www.vz82.cn" target="_blank">午夜精品久久影院蜜桃</a>| <a href="http://www.jqqingzhou.cn" target="_blank">久久99精品国产麻豆 </a>| <a href="http://www.jsmyy.cn" target="_blank">久久99精品久久久大学生</a>| <a href="http://www.xiaohaa.cn" target="_blank">2022年国产精品久久久久</a>| <a href="http://www.garden-tools.com.cn" target="_blank">精品熟女少妇aⅴ免费久久</a>| <a href="http://www.sunriseydy.cn" target="_blank">久久久亚洲欧洲日产国码是AV </a>| <a href="http://www.apramomall.cn" target="_blank">久久久久亚洲AV无码麻豆</a>| <a href="http://www.ggfuns.cn" target="_blank">国产成人久久久精品二区三区</a>| <a href="http://www.seowiki.com.cn" target="_blank">久久久久久久91精品免费观看</a>| <a href="http://www.bhga.cn" target="_blank">性做久久久久久久久老女人</a>| <a href="http://www.pxep.cn" target="_blank">无码人妻久久久一区二区三区</a>| <a href="http://www.80008000.cn" target="_blank">国产精品成人无码久久久久久</a>| <a href="http://www.michellebranch.cn" target="_blank">7777精品久久久大香线蕉</a>| <a href="http://www.jzbbbs.cn" target="_blank">久久久WWW成人免费精品</a>| <a href="http://www.keyuehua.cn" target="_blank">99久久这里只有精品</a>| <a href="http://www.wxjdsteel.cn" target="_blank">久久精品国产99久久久古代</a>| <a href="http://www.todd3015.cn" target="_blank">草草久久久无码国产专区</a>| <a href="http://www.jiudexn.cn" target="_blank">久久精品国产第一区二区三区</a>| <a href="http://www.shanwengqing.com.cn" target="_blank">亚洲а∨天堂久久精品</a>| <a href="http://www.piaowutong.com.cn" target="_blank">91精品国产综合久久四虎久久无码一级</a>| <a href="http://www.pianjuan.cn" target="_blank">久久精品国产久精国产果冻传媒 </a>| <a href="http://www.svelan.cn" target="_blank">午夜福利91久久福利</a>| <a href="http://www.ipingpong.cn" target="_blank">国产成人香蕉久久久久</a>| <a href="http://www.d4ycf2r.cn" target="_blank">丁香狠狠色婷婷久久综合</a>| <a href="http://www.buksk.cn" target="_blank">久久综合噜噜激激的五月天</a>| <a href="http://www.shiyoulhg.cn" target="_blank">久久久久久国产精品美女</a>| <a href="http://www.37000.com.cn" target="_blank">天天影视色香欲综合久久</a>| <a href="http://www.ryjv.cn" target="_blank">色天使久久综合网天天</a>| <a href="http://www.77ns.cn" target="_blank">伊人久久五月天</a>| <a href="http://www.xkot.cn" target="_blank">亚洲伊人久久精品影院</a>| <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>