登录
首页 » c++ » C++蚁群算法解决TSP问题

C++蚁群算法解决TSP问题

于 2022-04-11 发布 文件大小:4.26 kB
0 121
下载积分: 2 下载次数: 2

代码说明:

蚁群算法也是一种利用了大自然规律的启发式算法,与之前学习过的GA遗传算法类似,遗传算法是用了生物进行理论,把更具适应性的基因传给下一代,最后就能得到一个最优解,常常用来寻找问题的最优解。当然,本篇文章不会主讲GA算法的,想要了解的同学可以查看,我的遗传算法学习和遗传算法在走迷宫中的应用。话题重新回到蚁群算法,蚁群算法是一个利用了蚂蚁寻找食物的原理。不知道小时候有没有发现,当一个蚂蚁发现了地上的食物,然后非常迅速的,就有其他的蚂蚁聚拢过来,最后把食物抬回家,这里面其实有着非常多的道理的,在A

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

发表评论

0 个回复

  • STM8-MCU
    STM8 源代码 STM8 programming language TMIR1 TMIR2 SPI IIC (STM8 programming language TMIR1 TMIR2 SPI IIC )
    2012-05-07 17:25:37下载
    积分:1
  • 造型师 1.5 软件造型师 1.5加入VC,VB,DELpHi演示程序,并增加了模糊扫描功能 该软件可以根据任意常用BMp文件生成各种形状的窗口模板可以在DEL...
    造型师 1.5 软件造型师 1.5加入VC,VB,DELpHi演示程序,并增加了模糊扫描功能 该软件可以根据任意常用BMp文件生成各种形状的窗口模板可以在DELpHi,VB,VC中使用,演示及说明请见verygood.163.net,或者http:personal-stylist 1.5 1.5 software stylist joined VC, VB, DELpHi demo program, and to increase the fuzzy scan functions of the software can be used under any BMP file of various shapes in the window template DELpHi, VB, VC use, presentation and see Note verygood.163.net, or http : personal
    2023-07-29 09:40:04下载
    积分:1
  • yuandaima3
    这是我C语言编的一些小游戏的应用程序,希望大家多多指教!(This is my C-game series a number of small applications, I hope everyone exhibitions!)
    2008-05-11 22:05:08下载
    积分:1
  • NewFeaturesOfOpenCV2.1
    采用opencv2.1,实现了一个全新的背景切除高效算法(Using opencv2.1, implements a new algorithm for background removal efficiency )
    2011-07-21 01:27:45下载
    积分:1
  • 51MCU_FIFO
    51单片机的FIFO(先入先出)循环队列实现(已在串口通信中实际应用)(51 single-chip FIFO (FIFO) circular queue (already in the practical application of the serial communication))
    2012-07-07 23:32:10下载
    积分:1
  • AR8236
    AR8236是一种提供低功耗的快速以太网交换机解决方案。(The AR8236 is a fast Ethernet switch solution that offers low power)
    2020-10-26 17:39:59下载
    积分:1
  • Numericalalgorithmused
    常用数值算法 包括c++,c,MATLAB,等等(Numerical algorithm used includes c++, c, MATLAB, etc.)
    2010-06-28 16:26:36下载
    积分:1
  • XXX
    说明:  实现了视频会议以及文字聊天的功能。将客户端与服务器集中在一个模块中,可以既当服务器又可当客户端。(Implemented video conferencing and text chat features. The client and server in one module, you can not only when the server when the client can.)
    2010-04-28 10:39:55下载
    积分:1
  • AAron-Hileglas-Objective-C-programming-for-iOS-an
    ios Mac os programming
    2013-09-14 22:01:28下载
    积分:1
  • 使用C++技术实现计算器的功能软件使用visual Studio 2008 制作课程作业
    CalculatorDlg.cpp // CalculatorDlg.cpp : implementation file // #include "stdafx.h" #include "Calculator.h" #include "CalculatorDlg.h" #include #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CAboutDlg dialog used for App About class CAboutDlg : public CDialog { public: CAboutDlg(); // Dialog Data //{{AFX_DATA(CAboutDlg) enum { IDD = IDD_ABOUTBOX }; //}}AFX_DATA // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CAboutDlg) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation
    2022-05-31 11:25:20下载
    积分:1
  • 696518资源总数
  • 105901会员总数
  • 40今日下载