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

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

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

代码说明:

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

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

发表评论

0 个回复

  • Email_MAPI
    使用IMAPI完成Email client端功能 可attach 附加檔案(completed using disk-Email client can attach additional functions Archives)
    2005-03-23 14:38:36下载
    积分:1
  • 超声波测距模块
    由于超声波指向性强,能量消耗缓慢,在介质中传播的距离较远,因而超声波经常用于距离的测量,如测距仪和物位测量仪等都可以通过超声波来实现。利用超声波检测往往比较迅速、方便、计算简单、易于做到实时控制,并且在测量精度方面能达到工业实用的要求,因此在移动机器人研制上也得到了广泛的应用。(Because of its strong directivity, slow energy consumption and long propagation distance in the medium, ultrasound is often used for distance measurement, such as range finder and level gauge, which can be achieved by ultrasound. Ultrasound detection is often fast, convenient, simple in calculation, easy to achieve real-time control, and can meet the requirements of industrial application in measurement accuracy, so it has been widely used in the development of mobile robots.)
    2020-06-19 10:20:02下载
    积分:1
  • MPU6050互补滤波实验
    MPU6050互补滤波,得到俯仰角与横滚角,配合匿名上位机程序(MPU6050 Complementary filtering, get pitch angle and roll angle, cooperate with anonymous upper computer program)
    2020-06-18 08:20:02下载
    积分:1
  • LinkGame
    Visual C#智能设备程序设计,游戏实例(Visual C# Smart Device Programming)
    2010-11-29 19:01:23下载
    积分:1
  • jinchengtiaodu
    说明:  这是我们学习操作系统的时候老师给我们做的关于进程调度的实验,很经典,给大家参考一下!(This is our time for teachers to learn the operating system for us to do experiments on the process of scheduling, it is a classic look for your reference!)
    2008-11-24 22:42:11下载
    积分:1
  • ppt2
    S12单片机的基本ppt ,包括了基本的如IO,sci,spi,等和adc 等的介绍,和一些基本语法的介绍(just for reference)
    2012-02-23 11:28:56下载
    积分:1
  • STM32F103_motor_control
    基于STM32步进电机控制程序,可以随意控制步进电机转动角度。(Based on STM32 stepper motor control program, you can control the stepper motor rotation angle at any rate.)
    2020-06-30 04:00:01下载
    积分:1
  • uvm源码
    uvm源码:通过源码,进一步深刻理解UVM实现原理机制,从底层了解,学习方法学,为搭建可重用平台打下坚实基础,从而更好为自己,为他人使用,管理验证平台
    2023-07-27 21:45:03下载
    积分:1
  • HikariSourcev0.3
    说明:  OGRE引擎中可以用到的FLASH库,做UI界面游戏比较好(Ogre engine can be used FLASH library, so the game is better UI interface)
    2008-12-04 15:10:56下载
    积分:1
  • 倾角传感器温度补偿
    该程序用于倾角传感器的温度补偿,利用反正弦法来计算角度
    2022-01-21 21:57:54下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载