#include #include #include #defineNumCities42//共幾座城市 #defineNumAnts20//螞蟻組數POP-TSP solve by ACO-算法 - IMDN开发者社群-imdn.cn" /> #include#include#include#defineNumCities42//共幾座城市#defineNumAnts20//螞蟻組數POP,最多就NumCities隻#defineparameter_evaporate0.5请点击左侧文件开始预览!预览只提供20%的代码片段,完整代码需下载后查看加载中侵权举报-IMDN开发者社群-imdn.cn"> #include#include#include#defineNumCities42//共幾座城市#defineNumAnts20//螞蟻組數POP,最多就NumCities隻#defineparameter_evaporate0.5请点击左侧文件开始预览!预览只提供20%的代码片段,完整代码需下载后查看加载中侵权举报 - IMDN开发者社群-imdn.cn">
登录
首页 » 算法 » TSP solve by ACO

TSP solve by ACO

于 2022-02-09 发布 文件大小:2.38 kB
0 206
下载积分: 2 下载次数: 1

代码说明:

// TSP solve by ACO 2013/06/13 #include "stdafx.h" #include #include #include #include #define NumCities 42 //共幾座城市 #define NumAnts 20 //螞蟻組數POP,最多就NumCities隻 #define parameter_evaporate 0.5 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报

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

发表评论

0 个回复

  • 按层打印二叉树
    算法思想: 先把根结点入队,然后循环直到队列为空:出队一个结点,打印之,将其邻接点依次入队;打印和入队邻接点前要先判断是否已经打印过了,如果已打印过的就不操作 。                                                                 此算法是在visual studio2012平台下实现二叉树的层次遍历,程序需要先输入二叉树,然后会将此二叉树按曾打印
    2022-04-18 12:41:39下载
    积分:1
  • ACM一些题目,很有难度。能做出来的是高手。
    ACM一些题目,很有难度。能做出来的是高手。-ACM some questions, very difficult. Can come out is a master.
    2023-07-24 18:50:04下载
    积分:1
  • Dialog自适应屏幕分辨率
    子控件自适应窗口大小的改变 对所有需要改变窗口大小的Dialog提供调用接口    * @方法功能:  子控件自适应窗口大小的改变        * @参数介绍:        -hWnd:要缩放的Dialog的窗口句柄,可在Dialog中通过GetSafeHwnd()方法获得;        -typeFlag: 缩放标志,其可能取值如下:0表示原始大小(缺省),1最大化,2按照times的值放大或缩小一定倍数后居中。        -times : Dialog的放大倍数,缺省值为1.0,只有当typeFlag值为2时才有效    * @返回值:FALSE表示传入的第一个参数hWnd=NULL,否则返回TRUE;    * @注意事项:        -1、所有子控件的大小是按照原来的Dialog同比例进行放大,以免放大后失真        -2、放大后如果窗口大小超过显示器可用区域(除去任务栏),会自动调整使得窗口最大化但是长和宽的比例扔保持不变,以免失真        -3、放大后所有的子控件的字体采用的是系统默认字体,所有字体大小是放大后的统一大小        -4、当typeFlag=2&×
    2022-03-11 14:18:59下载
    积分:1
  • The text data about data mining algorithms
    文本数据的数据挖掘算法:对大量存在的文本数据,用已有的结构化数据挖掘技术,提出了非结构化数据知识发现方法。-The text data about data mining algorithms
    2022-06-01 07:06:23下载
    积分:1
  • 搜索算法部分使用minmax递归,alphabeta剪枝,初期和中期搜索6层,最后部分搜索15层。评估算法主要是最小行动力,加以位置值的相关判断...
    搜索算法部分使用minmax递归,alphabeta剪枝,初期和中期搜索6层,最后部分搜索15层。评估算法主要是最小行动力,加以位置值的相关判断- The search algorithm partially uses the minmax recursion, the alphabeta pruning, the initial period and the intermediate stage searches 6, finally partially searches 15. Appraised the algorithm mainly is the smallest good power, performs the position value the correlation to judge
    2023-02-28 03:35:04下载
    积分:1
  • 计算机编程,用C语言计算改进的欧拉算法的典型题目
    计算机编程,用C语言计算改进的欧拉算法的典型题目-Computer programming, using C language to improve the calculation of the Euler algorithm for a typical subject
    2023-05-10 04:15:03下载
    积分:1
  • numerical method LU decomposition
    数值计算方法 LU分解法-numerical method LU decomposition
    2022-08-03 23:49:55下载
    积分:1
  • Numerical optimization of the process used to be legal procedures Bessel
    数值优化计算过程中常用的贝塞尔拟合法程序-Numerical optimization of the process used to be legal procedures Bessel
    2022-07-24 07:21:04下载
    积分:1
  • smallest circle with a branch and bound method! With a good strategy for cutting...
    最小圆排列的分支限界法! 用了很好的剪支策略很快的!-smallest circle with a branch and bound method! With a good strategy for cutting sticks soon!
    2022-02-19 22:32:56下载
    积分:1
  • 从国外大学上下的Levenberg算法程序
    从国外大学上下的Levenberg算法程序-From foreign universities Levenberg algorithm program from top to bottom
    2022-08-25 16:49:18下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载