数学建模社区-数学中国
标题:
遗传算法中的些许疑问
[打印本页]
作者:
gyf3266296
时间:
2012-4-11 15:56
标题:
遗传算法中的些许疑问
39. costminold2=200000;costminold1=150000;resultcost=100000;
40. tourminold2=zeros(1,N);
41. tourminold1=zeros(1,N);
42. resulttour=zeros(1,N);
43. while (abs(costminold2-costminold1) ;100)&(abs(costminold1-costmin) ;100)&(increase ;500)
44.
45. costminold2=costminold1; tourminold2=tourminold1;
46. costminold1=costmin;tourminold1=tourmin;
47. increase=increase+1;
48. if resultcost>costmin
49. resultcost=costmin;
50. resulttour=tourmin;
51. resultincrease=increase-1;
52. end
请教给位大神,这段话是什么意思啊…… 谢谢
欢迎光临 数学建模社区-数学中国 (http://www.madio.net/)
Powered by Discuz! X2.5