登录
首页 » c# » TSP遗传算法求解

TSP遗传算法求解

于 2022-05-28 发布 文件大小:123.70 kB
0 97
下载积分: 2 下载次数: 1

代码说明:

利用AForge中的遗传算法求解TSP             int iter = 1;             int iterations = 5000;             while (iter < iterations)             {                 population.RunEpoch();                 iter++;             }             Console.WriteLine("遍历路径是:{0}",((PermutationChromosome)population.BestChromosome).ToString());             Console.WriteLine("总路程是:{0}",fitnessFunction.PathLength(population.BestChromosome));             Console.ReadLine();         }     } }

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • PSCAD_PMSG_pitch_crow2
    PSCAD风电场建模(PMSG永磁同步发电机) 及发电机的矢量控制(Vector Control PSCAD wind farm modeling (PMSG permanent magnet synchronous generator) and generators)
    2016-05-05 13:53:17下载
    积分:1
  • STM32F10x_StdPeriph_Lib_V3.5.0
    说明:  stm32f10x官方纯净固件库,官网下载速度过慢,特此提供(Stm32f10x official pure firmware library, official website download speed is too slow, is hereby provided)
    2020-12-20 17:15:36下载
    积分:1
  • 读取BMP图像
    读取信息,从BMP文件头和数据写入阵列
    2022-01-25 16:11:39下载
    积分:1
  • 某道1.60.0905
    说明:  1.6完美端1.64下载地址 附带工具1.6完美端1.64下载地址 附带工具(1.6 Perfect End 1.64 Download Address Supplementary Tool 1.6 Perfect End 1.64 Download Address Supplementary Tool)
    2021-02-04 09:29:58下载
    积分:1
  • pca
    vc++,c的主成分分析法程序有错误,可以自己先调试一下(PCA 主成分分析法)
    2013-05-09 10:17:10下载
    积分:1
  • Robot-inversion-movement
    设计一个用于解决两关节机械手的反演运动学问题的前馈网络,要求末端执行器的运动轨迹是一条直线.(Design a feedforward network is used to solve the two-joint robot inverse kinematics problem, requirements of the end-effector trajectory is a straight line.)
    2020-12-29 08:49:01下载
    积分:1
  • tongbu
    关于无线传感器网络时间同步算法RBS算法的仿真(About wireless sensor network time synchronization algorithm RBS algorithm simulation)
    2020-06-30 16:00:01下载
    积分:1
  • grain boundary particles percent
    根据二维材料组织图数据,计算晶界不同位置处(晶内、晶界或晶角)第二相粒子的数目和比例。(The number and proportion of the second phase particles at different locations of grain boundary (intragranular, grain boundary or grain angle) are calculated according to the data of two-dimensional material histogram.)
    2020-06-21 03:00:01下载
    积分:1
  • SimpleCollapsiblePanel
    既符合FlowLayoutPanel和相互作用的AutoSize功能extrange,可以折叠面板和GroupBoxes隐藏或显示他所需要的信息。 ,作者拥有版权,仅供学习与参考。(AutoSize is in line with the function of extrange FlowLayoutPanel and interaction, can be folded panel and GroupBoxes hide or display the information he needed. The author, copyright, learning and reference purposes only.)
    2013-09-10 13:15:49下载
    积分:1
  • LCD12864
    本内容为LCD12864的驱动函数,可以适合刚入手液晶屏的同学学习(The content LCD12864 driver function can fit LCD classmates just start learning)
    2012-11-27 15:24:45下载
    积分:1
  • 696518资源总数
  • 105908会员总数
  • 30今日下载