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

TSP遗传算法求解

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

  • compoletcall
    说明:  VC++ 6.0调用omron Compolet V2控件与PLC通信 示例(VC++ 6.0 call omron Compolet V2 control)
    2009-08-05 10:06:49下载
    积分:1
  • AppArch_download
    windows官方文档 软件架构设计 设计应用程序及服务(Application Architecture for .NET: Designing Applications and Services)
    2013-03-05 18:01:23下载
    积分:1
  • Sierpinski
    Sierpinski分形算法的源代码,包括一个应用程序,了解基本的Sierpinski算法(The Sierpinski fractal algorithm source code, including an application, understand basic Sierpinski algorithm)
    2012-10-23 15:34:58下载
    积分:1
  • B04283_02_code
    说明:  使用c++语言、opencv采集相机图像,并且显示在框里。(Using c plus plus language,and the software of opencv ,showing them in the screen.)
    2019-12-19 17:45:46下载
    积分:1
  • sort
    说明:  常见的排序算法。基于C++实现了几种常见的排序算法。(Common sorting algorithms. Based on C + +, several common sorting algorithms are implemented.)
    2020-03-20 17:28:45下载
    积分:1
  • 51单片机4*4键盘板全套资料
    51单片机4*4键盘板全套资料,该 4*4 键盘接口板为创新、研发、实训而设计,能解决实际应用过程中采用 4*4 键盘的快递验证及原型机搭建事宜,使想法与设计得以快速实现。该接口板大小为 6cm*6cm,设计有 RC 阻容消抖电路, 4 个行与 4 个列的接口信号通过板上部的排针引出,同时需要接入共地信号。资料中提供供直接调用的函数,使开发更加快捷。
    2022-03-02 00:06:15下载
    积分:1
  • tioashima
    说明:  在基于脉冲的UWB系统中,采用瑞克接收机合并多径信号能量并进行相干检测,信道估计问题即估计多径信号的到达时间和幅度。在基于OFDM的UWB系统中,接收机根据信道频域响应对每个子信道进行频域均衡后进行相干检测,信道估计问题即估计信道频域响应。(Pulse-based UWB systems, rake receivers using the combined multipath signal energy and coherent detection, channel estimation problem that is estimated multipath signal arrival time and amplitude. OFDM-based UWB system, the receiver under the channel frequency response of each subchannel to frequency domain equalization after coherent detection, channel estimation problem that is estimated channel frequency response.)
    2008-09-22 16:51:03下载
    积分:1
  • svm
    SVM matlab的源代码,用于建立支持向量机模型(code for svm)
    2012-06-21 16:15:33下载
    积分:1
  • main
    240128c液晶屏的51单片机程序驱动,能实现刷屏功能。(240128c LCD screen 51 single-chip program driver, can achieve brush screen function.)
    2020-11-16 08:59:40下载
    积分:1
  • zww_GE
    6678的网口程序 已经调试成功了 适用于6678开发板(6678 NDK net project GE ndk me let net project GE ndk me let project GE ndk me let)
    2017-11-27 09:17:42下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载