蚁群算法 源代码

蚁群算法是一种用来寻找优化路径的概率型算法。它由MarcoDorigo于1992年在他的博士论文中提出,其灵感来源于蚂蚁在寻找食物过程中发现路径的行为。[1]

收录资源 500 份 全站深度检索
源码文件

Form2 = -8, -5, 635, 428, C, 22, 29, 665, 462, C Form3 = 18, 32, 505, 466, C, 66, 87, 553, 520, C Form1 = 44, 58, 591, 412, C, 6…

源码文件

#include #include #include #include using namespace std; const int iAntCount=34;//ant numbers const int iCityCount=…

源码文件

function [R_best,L_best,L_ave,Shortest_Route,Shortest_Length]=ACATSP(C,NC_max,m,Alpha,Beta,Rho,Q) %%=============================…

源码文件

本人自己写的蚁群算法。完全能够实现功能,就是收敛速度感觉有点慢。 % function [R_best,L_best,L_ave,Shortest_Route,Shortest_Length]=ACO(C,D,s,e,NC_max,m,Alpha,Beta,…

源码文件

蚁群算法(C/C++实现) 作者: 来源:zz 发表时间:2007-07-02 浏览次数: 3198 字号:大 中 小 源代码如下: /*ant.c*/ #define SPACE 0x20 #de…

源码文件

#include #include #include #include #include using namespace std; const int iAntCount=34;//ant numbers const int i…