登录
首页 » matlab » TS_TSP

TS_TSP

于 2007-10-19 发布 文件大小:5KB
0 257
下载积分: 1 下载次数: 87

代码说明:

  解决TSP问题的TS算法MATLAB实现,其中加入了变异算法,当然也可以去掉这个步骤,调用TS_TSP(N, inStart, IsBianYi),N是城市数目,inStart是起始城市的序号,IsBianYi就是选择变异否,如果为0则不要变异,否则就是结合变异算子的TS算法。 至于下面的参数可以自己调: T:总的循环次数; tabulength:禁忌长度; Pby:变异概率; (Solve the TSP problem MATLAB realize TS algorithm, which joined the variance algorithm, of course, this step can also be removed, call TS_TSP (N, inStart, IsBianYi), N is the number of cities, inStart is the serial number of the starting cities, IsBianYi is to choose variation has, if not for the variation of 0, otherwise, it is combined with mutation of the TS algorithm. As for the following parameters can be their own tune: T: total number of the cycle tabulength: taboo length Pby: mutation probability )

文件列表:

TSP_DATA.m
TS_TSP.m
TS_TSP.txt

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

发表评论

0 个回复

  • HAMINGPRS
    汉明码和RS码的编译码的MATLAB源程序(Hamming and RS MATLAB source code encryption)
    2013-09-27 09:10:14下载
    积分:1
  • sift-algorithm-complete
    This code is very useful to detect key-points, extract features those key-points. This code is useful to detect SIFT key-points
    2015-04-19 20:43:41下载
    积分:1
  • 清华:滑模变结构控制
    说明:  滑膜变结构控制及应用源程序代码,清华大学出版社(Synovial variable structure control and application source code,Tsinghua university press)
    2020-09-23 22:15:09下载
    积分:1
  • lms
    最小均方算法lms在波束形成中的应用  LMS算法步骤:   1,、设置变量和参量:   X(n)为输入向量,或称为训练样本   W(n)为权值向量   b(n)为偏差   d(n)为期望输出   y(n)为实际输出   η为学习速率   n为迭代次数   2、初始化,赋给w(0)各一个较小的随机非零值,令n=0   3、对于一组输入样本x(n)和对应的期望输出d,计算   e(n)=d(n)-X^T(n)W(n)   W(n+1)=W(n)+ηX(n)e(n)   4、判断是否满足条件,若满足算法结束,若否n增加1,转入第3步继续执行。(Lms least mean square algorithm applied in Beamforming )
    2011-04-28 23:25:35下载
    积分:1
  • CR-source-code.bin
    CR Code by Mat-lab (Relation between primary and second user)
    2012-09-16 23:46:10下载
    积分:1
  • 侧向和横摆的二自由度车辆模型,输入为方向盘转角
    说明:  侧向和横摆的二自由度车辆模型,输入为方向盘转角,车速,轮路附着系数(2dof vehicle model including lateral and yaw)
    2020-07-04 00:40:01下载
    积分:1
  • jacobian
    Menghitung matriks jacobian
    2014-08-20 10:01:51下载
    积分:1
  • 3
    说明:  MATLAB CODE FOR INFORMATION THEORY AND CODING
    2013-09-11 12:57:43下载
    积分:1
  • SAR123
    合成孔径雷达回波信号仿真,基于简单的点目标,在三维平面的仿真(Synthetic aperture radar echo signal simulation, based on simple point target, in 3D plane simulation.)
    2020-06-30 23:00:02下载
    积分:1
  • rms
    twinkle twinkle little star. how i wonder what you are. up above the world so high. like a diamond in the sky.
    2010-05-12 16:11:36下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载