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

TSP遗传算法求解

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

  • Get_CS_LBP
    根据harris提供角点,提取角点的cs—LBP值,以提高角点的鲁棒性(Harris corner extraction corner CS-LBP value, in order to improve the robustness of the corner)
    2013-04-26 20:29:00下载
    积分:1
  • jiawan
    连接乣VC影响选择题组如了;老爸 工程 形容人查 看 (ljggnlkghbnjui khjg )
    2015-05-26 22:43:58下载
    积分:1
  • UMSTUX
    data structure广度优先搜索实现迷宫最短路()
    2018-05-16 16:45:05下载
    积分:1
  • MS_Start_Kit_Club
    A starting point for creating a web site for your club or organization. Includes a news posting, calendaring, member directory, and photo album systems. Create news announcements and news articles with photos or links to a photo album. Create and view Membership lists of club members. Create photo albums and share the photos from your club activities.(A starting point for creating a web site for your club or organization. Includes a news post ing, calendaring, member directory, and photo album systems. Back news announcem ents and news articles with photos or links to a p hoto album. Create and view lists of Membership club members. Create photo albums and share the photos from your club activities.)
    2007-05-23 19:09:39下载
    积分:1
  • thequalityofcprogramming
    C++/C编程指南丛书---高质量编程 看过后大受启发 (C++/C Programming Guide--- Series of high-quality programming large inspired after reading)
    2007-11-30 16:36:28下载
    积分:1
  • Data.Structures.For.Game.Programmers
    说明:  详细介绍了游戏设计的数据结构注意事项,对与游戏中角色和游戏模式作者给予了督导的见解,书中语言为全英文但通俗易懂!很是推荐 (Data.Structures.For.Game.Programmers Detailed data structure of the game design considerations, the role with the game and game modes of supervision given to insights, the book in English but the language is easy to understand! It is recommended)
    2010-04-14 11:21:09下载
    积分:1
  • Pp2ppnatt2
    P2P 穿透NAT的源程序源码,支持文字聊天、传文件等功能,,对对刚开始接触P2P编程与开发的人员有参考价值! 可直接使用。 (P2P source code for NAT Traversal support text chat, transfer files, and other functions, the reference value of just getting started with P2P programming and development staff. Can be used directly.)
    2012-07-19 23:23:37下载
    积分:1
  • DVD管理系统
    DVD管理系统两个月结束了,我的java课程告一段落.为了给这段时间的努力画上一个不太完美的句号.我的第一个java项目诞生了.虽然做的不太完美,还是对自己有个交代!
    2023-02-01 13:10:04下载
    积分:1
  • LIN6-i0P9999-int
    PIC18F2420 用中断方式从0加到9999 采用四位工阳极数码管(PIC18F2420 interrupt from 0 added to the 9999 four workers anode digital tube)
    2012-09-05 15:24:02下载
    积分:1
  • Chip-electronic-bell-million-years
    单片机万历年电子钟Chip electronic bell million years(Chip electronic bell million years)
    2013-11-15 15:16:49下载
    积分:1
  • 696518资源总数
  • 104224会员总数
  • 54今日下载