登录
首页 » C++ » 蚁群算法解决最优路径问题

蚁群算法解决最优路径问题

于 2022-07-17 发布 文件大小:2.99 MB
0 96
下载积分: 2 下载次数: 1

代码说明:

蚁群算法解决最优路径问题C++实现,就是在找最短路径的时候,而蚁群算法是一种近似算法,它不是用来解决已存在精确有效算法的问题的,而是用来解决至今没有找到精确的有效算法的问题的,比如旅行商问题(TSP)。旅行商问题也可以说是求“最短路径”,但它是求一个完全图的最小哈密顿圈,这个问题至今未找到多项式时间算法,属于NPC问题

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

发表评论

0 个回复

  • TestMouseHook
    在VC下类似金山词霸屏幕取词功能的鼠标钩子(Mouse hook in capturing function of the VC.)
    2012-07-14 11:24:09下载
    积分:1
  • SerialComm
    C#串口调试工具,完整VS2008源代码。 1、自动检测系统串口数量,支持USB转串口设备即插即用,自动添加到下拉列表框。 2、修改端口设置后自动打开串口,可发送字符或十六进制数据,并可定时循环发送。 3、支持自定义帧格式,且可自动加入校验,可选校验超过四种以上。 4、接收分别以字符和十六进制显示,完美支持中文显示和回车换行。(C# serial debugging tools, complete source code VS2008. 1, the automatic detection system serial number, supports USB serial devices simultaneously, automatically added to the drop-down list box. 2, modify the port settings automatically open the serial port to send character or hexadecimal data, and timing loop sent. 3, support for custom frame format, and can be automatically added to the check, optional check more than four kinds or more. 4, respectively, received characters and hexadecimal display, the perfect support Chinese display and carriage return line.)
    2021-03-31 08:39:09下载
    积分:1
  • JHGJGHJGFJG
    题目:取一个整数a从右端开始的4~7位。 程序分析:可以这样考虑: (1)先使a右移4位。 (2)设置一个低4位全为1,其余全为0的数。可用~(~0<<4) (3)将上面二者进行&运算。 2.程序源代码:(Topic: take an integer a from the right end of the four to seven began. Program analysis: it can be to consider: (1) to make a move to the right four. (2) sets a low four total for the 1, all the rest for 0 of the number. Can be used to (~ 0 < < 4) (3) will above the difference and operations. 2. The source code:)
    2012-05-26 20:20:03下载
    积分:1
  • winform 玻璃按钮(仿vista)控件源码
    winform 玻璃按钮(仿vista)控件源码
    2018-10-16下载
    积分:1
  • tianxian
    共面波导馈电的超宽带天线研究_有效解决天线问题(Ultra-Wideband Antenna coplanar waveguide fed _ effectively solve antenna problems)
    2015-03-30 10:23:20下载
    积分:1
  • 单片机新手入门实验40个
    自己试用过,适合初学,比较基础,但不是原创,请见谅,希望大家共同进步(I have tried it, suitable for beginners, comparatively basic, but not original, please forgive me, I hope you all make progress together.)
    2020-06-21 13:40:02下载
    积分:1
  • VCPP-Serial-host-computer
    实现串口通信的编程,关于类以及继承的一些使用方法,新手可以参考。(Serial communication programming, use classes and inheritance, the novice can refer to.)
    2013-05-03 09:07:54下载
    积分:1
  • c
    说明:  c自理阿婆;了解了解顾客了 快乐 噶爱国 (c self grandmother learn about customer happiness Karma patriotic)
    2010-04-04 16:47:04下载
    积分:1
  • TCPView_second
    This is a Scaling function definition Image cutoff ratio for H = 3
    2015-08-06 21:31:01下载
    积分:1
  • DES的加密和解密
    说明:  DES的加密和解密。在VC++6.0下运行。(Des encryption and decryption)
    2020-06-19 10:20:02下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载