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

TSP遗传算法求解

于 2022-05-28 发布 文件大小:123.70 kB
0 90
下载积分: 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 个回复

  • C.rar
    常用算法程序集(C语言描述) 第三版 (PDF高清电子书+附书源码打包).rar(Commonly used algorithm assembly (C language description) Third Edition (PDF e-book+ HD package attached to the book source code). Rar)
    2010-07-20 15:41:44下载
    积分:1
  • dpwewoaddownload
    非常经典的WINDOWS SDK编程程序,敬请赶快下载,不下可别后悔啊!谢谢了!,(Very classic WINDOWS SDK programming procedures, please download quickly, do not regret it! Thank you!)
    2018-10-21 02:40:42下载
    积分:1
  • mpu6050驱动代码
    mpu6050驱动代码mpu6050驱动代码mpu6050驱动代码mpu6050驱动代码mpu6050驱动代码mpu6050驱动代码mpu6050驱动代码mpu6050驱动代码mpu6050驱动代码mpu6050驱动代码mpu6050驱动代码mpu6050驱动代码mpu6050驱动代码mpu6050驱动代码mpu6050驱动代码mpu6050驱动代码mpu6050驱动代码mpu6050驱动代码mpu6050驱动代码mpu6050驱动代码mpu6050驱动代码mpu6050驱动代码mpu6050驱动代码mpu6050驱动代码mpu6050驱动代码mpu6050驱动代码mpu6050驱动代码mpu6050驱动代码mpu6050驱动代码mpu6050驱动代码
    2022-05-07 12:06:01下载
    积分:1
  • TFT1
    用STM32实现TFT显示!用的是ILI9325芯片驱动的!(With STM32 realize TFT show! Use is ILI9325 chip drive!)
    2012-04-17 17:41:30下载
    积分:1
  • BP曲线拟合代码
    用labview实现误差反传算法,使得初始曲线不断学习逼近给定曲线(The error backpropagation algorithm is implemented by LabVIEW, so that the initial curve is constantly learning to approximate a given curve.)
    2018-07-19 10:30:42下载
    积分:1
  • AN208SW
    说明:  基于silicon labs的51单片机ADC采集反电动势实现BLDC换相的应用(basic on 51 MCU using ADC sample BEMF for BLDC commutation.)
    2021-04-01 14:28:17下载
    积分:1
  • 联系
    Linux开发的产生规则集工具。ClassBench用于产生人工规则集,由于规则集的保密特性,因此此工具对于从事SDN方向的研究人员至关重要。此源码为规则集产生工具。
    2022-02-03 03:26:04下载
    积分:1
  • c解决二元一次乘法问题
    该程序以316=11*x+13*y为例,用循环语句解决该问题。用break跳出for循环输出符合条件的x,y的值!
    2023-07-05 15:15:03下载
    积分:1
  • MultiFileDlgDemo
    使用多选文件对话框,C++精选编程源码,很好的参考资料。(The use of multiple file dialog box, select the C++ programming source code, a good reference.)
    2013-11-28 15:40:10下载
    积分:1
  • 五子棋游戏源程序
    五子棋源码,C语言,适合新学编程或者新学C的软件工程师(Gomoku source code, C language, software engineer for new learning programming or new learning C)
    2020-06-22 01:20:02下载
    积分:1
  • 696518资源总数
  • 105562会员总数
  • 1今日下载