群聊 源代码
汇集 群聊 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
function [R_best,L_best,L_ave,Shortest_Route,Shortest_Length]=ACATSP(C,NC_max,m,Alpha,Beta,Rho,Q) %%=============================…
C8051单片机技术群 首页
本人自己写的蚁群算法。完全能够实现功能,就是收敛速度感觉有点慢。 % function [R_best,L_best,L_ave,Shortest_Route,Shortest_Length]=ACO(C,D,s,e,NC_max,m,Alpha,Beta,…
Math_Function.h #ifndef Math_Function_H #define Math_Function_H #include iostream #include vector using namespace std; #…
蚁群算法(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…