登录
首页 » matlab » ACTSP

ACTSP

于 2009-05-09 发布 文件大小:2KB
0 189
下载积分: 1 下载次数: 20

代码说明:

  实现了蚁群算法求解TSP问题。注释详细 function[R_best,L_best,L_ave,Shortest_Route,Shortest_Length]=ACATSP(C,NC_max,m,Alpha,Beta,Rho,Q) ------------------------------------------------------------------------- 主要符号说明 C n个城市的坐标,n×2的矩阵 NC_max最大迭代次数 m蚂蚁个数 Alpha表征信息素重要程度的参数 Beta表征启发式因子重要程度的参数 Rho信息素蒸发系数 Q信息素增加强度系数 R_best各代最佳路线 L_best各代最佳路线的长度 ========================================================================= (Ant Colony Algorithm for the realization of the TSP problem. Notes the detailed function [R_best, L_best, L_ave, Shortest_Route, Shortest_Length] = ACATSP (C, NC_max, m, Alpha, Beta, Rho, Q) ------------------------------------------------------------------- The main symbol------ C n that cities coordinates, n × 2 matrix NC_max the largest number of iterations m the number of Alpha ant pheromones characterized the importance of the parameters Beta factor heuristic importance of characterization of the parameters Rho evaporation coefficient of pheromone pheromone Q increase in intensity coefficient R_best best route generations generations L_best the length of the best route ====== ================================================== =================)

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

发表评论

0 个回复

  • matlab
    结合双线性变换法数字巴特沃斯高通IIR滤波器。能起到检波作用(Bilinear transformation method combined with digital high-pass Butterworth IIR filter. Can play a role in detection)
    2011-01-15 17:38:38下载
    积分:1
  • 实现分数阶傅里叶变换 Frft
    实现分数阶傅里叶变换,可以用于LFM信号的时频分析。(Realizing Frft, which can be used to perform the time frequency analysis of the LFM signal.)
    2018-05-17 18:43:41下载
    积分:1
  • Bayes_classifier
    贝叶斯分类器的设计实验,内有解释利于入门学习(Bayesian classifier design experiments, which help to explain the study entry)
    2009-04-15 11:40:03下载
    积分:1
  • TC0_CTCPWM
    mega128定时器0的CTC模式产生的PWM波形(mega128 timer PWM waveform generated by CTC mode 0)
    2013-12-05 13:32:11下载
    积分:1
  • kalman_filter_linear
    说明:  线性卡尔曼滤波模型,利用simulink模型搭建(linear Kalman filter and Simulink are used to build the model in detail)
    2020-12-14 15:46:18下载
    积分:1
  • matlab经典算法的
    经典算法案例,实用教程。有各种分类及源代码,从简到繁。(Classical algorithmic cases, practical tutorials)
    2020-06-18 01:40:01下载
    积分:1
  • kalmanfilter
    说明:  包含一个VC程序和几个matlab程序一个基于Opencv的预测随机运动的点的经典例子(kalman fiter)
    2009-08-04 09:12:10下载
    积分:1
  • Mitsubishi-PLC
    基于MATLAB与三菱PLC的测控应用系统的程序代码(MATLAB-based monitoring and control applications with Mitsubishi PLC system program code)
    2013-08-02 17:27:05下载
    积分:1
  • mani-LLE-LTSA
    多种流行学习算法的MATLAB实现。包括MDS、ISOMAP、 LLE 、 Hessian LLE 、Laplacian、LTSA 等多种算法。(A variety of popular learning algorithm in MATLAB to achieve. MDS, ISOMAP, LLE, Hessian LLE, Laplacian, LTSA.)
    2012-08-11 17:30:08下载
    积分:1
  • tide_uv
    潮流准调和分析 Dd.m [DO1 dO1 DK1 dK1 DM2 dM2 DS2 dS2 DM4 dM4 DMS4 dMS4]=Dd(y,D,Y,tm,A1) 计算6个准调和分潮的振幅系数和初相角公式 aM.m [N n aa liu_u liu_v]=aM() 基础系数矩阵,目前D和d值是取用的各段数据的中间时间值,t是以中间为0左右对称取; 视差潮龄A1需要预先得知 同时本程序负责读取原始测流数据,格式为 站位名称 观测数据段数N(即大 中 小潮) 第一段起始时间YYYY MM DD HH mm ss 第一段个数n1 speed direction speed direction ... 第二段起始时间 YYYY MM DD HH mm ss 第二段个数n2 speed direction speed direction ... 第三段起始时间 YYYY MM DD HH mm ss 第三段个数n3 speed direction speed direction ... UVg.m [U V Ug Vg]=UVg() 求调和常数U V和迟角Ug Vg Tuoyuan.m 计算各准调和分潮的椭圆要素W theta K k (The quasi harmonic analysis of tidal current Dd.m [DO1 dO1 DK1 dK1 DM2 dM2 DS2 dS2 DM4 dM4 DMS4 dMS4]=Dd (y, D, Y, TM, A1) calculation of 6 quasi harmonic division of amplitude and initial phase angle formula of the coefficient of tide AM.m [N n AA liu_u liu_v]=aM () foundation coefficient matrix, the current D and D values are the middle time of each section of data taken the value of T is in the middle for symmetric about 0 Age of parallax A1 need to know in advance At the same time, this program is responsible for reading the original flow measurement data, format for Site name The observation data segment number N (that is, in the low tide) The first section of the YYYY MM DD HH mm the starting time of SS The first section number N1 Speed direction Speed direction ... The second section starting time YYYY MM DD HH mm SS The second section number N2 Speed direction Speed direction ... The third section starting time YYYY MM DD HH mm SS The third section number )
    2015-02-10 16:29:29下载
    积分:1
  • 696516资源总数
  • 106913会员总数
  • 8今日下载