登录
首页 » matlab » ACO

ACO

于 2008-09-08 发布 文件大小:3KB
0 177
下载积分: 1 下载次数: 0

代码说明:

说明:  这是一个MATLAB写的一个解决TSP问题的蚁群算法程序。(This is a MATLAB to write a solution to the problem of ant colony algorithm TSP procedures.)

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

发表评论

0 个回复

  • work
    MATLAB在数学建模中的应用,其中很多源代码都是可以反复使用和论证的(MATLAB in Mathematical Modeling, many of them the source code can be re-use and verification of)
    2009-01-30 23:44:36下载
    积分:1
  • SGAPublic
    MATLAB的遗传算法工具(MATLAB genetic algorithm tool)
    2004-10-22 10:33:15下载
    积分:1
  • gravity
    function dg=gplus(x,y,z,x1,x2,y1,y2,z1,z2,p) G=6.67e-11 t222=myfun(x,y,z,x2,y2,z2) t122=myfun(x,y,z,x1,y2,z2) t212=myfun(x,y,z,x2,y1,z2) t221=myfun(x,y,z,x2,y2,z1) t211=myfun(x,y,z,x2,y1,z1) t121=myfun(x,y,z,x1,y2,z1) t112=myfun(x,y,z,x1,y1,z2) t111=myfun(x,y,z,x1,y1,z1) dg=-G*p*1e6*(t222-t122-t212-t221+t211+t121+t112-t111) 转化为g.u. function y=myfun(x,y,z,xi,eta,zeta) R=sqrt((xi-x).^2+(eta-y).^2+(zeta-z).^2) temp1=(xi-x).*log((eta-y)+R) temp2=(eta-y).*log((xi-x)+R) temp3=(zeta-z).*atan((zeta-z).*R/((xi-x).*(eta-y))) 书中所给公式 temp3=-(zeta-z).*atan((xi-x).*(eta-y)./(zeta-z)./R) 上式变换 y=temp1+temp2+temp3 (function dg = gplus (x, y, z, x1, x2, y1, y2, z1, z2, p) G = 6.67e-11 t222 = myfun (x, y, z, x2, y2, z2) t122 = myfun (x, y, z, x1, y2, z2) t212 = myfun (x, y, z, x2, y1, z2) t221 = myfun (x, y, z, x2, y2, z1) t211 = myfun (x, y, z, x2, y1, z1) t121 = myfun (x, y, z, x1, y2, z1) t112 = myfun (x, y, z, x1, y1, z2) t111 = myfun (x, y, z, x1, y1, z1) dg =-G* p* 1e6* (t222-t122-t212-t221+t211+t121+t112-t111) converted the Gu function y = myfun, (x y, z, xi, eta, zeta) R = sqrt ((xi-x). ^ 2+ (eta-y). ^ 2+ (zeta-z). ^ 2) temp1 = (xi-x).* log ((eta-y)+R) temp2 = (eta-y).* log ((xi-x)+R) temp3 = (zeta-z).* atan ((zeta-z).* R/( (xi-x).* (eta-y))) book given formula Temp3 =- (Zeta-z)* ATAN ((Xi-X)* (ETA-y)/(Zeta- Z)/R) the above formula transform Y = temp1+temp2+temp3 )
    2013-03-20 20:25:15下载
    积分:1
  • SAHC
    it is for simple hill climbing algorithm
    2014-01-22 00:49:56下载
    积分:1
  • DIPUMToolbax
    MATLAB图形处理工具箱~与冈萨雷斯《数字图像处理》配套(MATLAB graphics toolbox ~ and Gonzalez, " Digital Image Processing" complementary)
    2009-04-03 21:15:31下载
    积分:1
  • kejian
    厦门大学数值分析课件。基于matlab实现。(Courseware for Numerical Analysis of Xiamen University. Matlab-based implementation.)
    2010-11-11 22:45:35下载
    积分:1
  • KalmanAll
    说明:  关于卡拉曼滤波的~运动目标状态估计方法的研究(Karaman filter on ~ moving target state estimation method for)
    2010-04-12 10:14:36下载
    积分:1
  • MATLAB Code for Anisotropic TMM
    MATLAB_Code 各项异性介质中的传输矩阵方法处理光的传播(MATLAB_Code anisotropic media in the transfer matrix approach to light propagation)
    2011-08-05 15:50:14下载
    积分:1
  • draggablecc
    Allows graphical objects to be dragged in a figure
    2013-10-25 17:06:07下载
    积分:1
  • mu_autoland_synthesis
    高超飞行器纵向三自由度模型,可用于线性化研究,进行姿态控制设计(Hypersonic vehicle longitudinal three-degree-of-freedom model can be used for linearization study, attitude control design)
    2013-05-10 07:28:00下载
    积分:1
  • 696518资源总数
  • 106253会员总数
  • 14今日下载