登录
首页 » matlab » ACTSP

ACTSP

于 2009-05-09 发布 文件大小:2KB
0 94
下载积分: 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 个回复

  • fspecial
    建立滤波器 如均值 高斯 中值 维纳 可以设置模板(fspecial)
    2010-09-28 20:56:51下载
    积分:1
  • simulations
    voltage source inverter
    2011-01-11 01:23:58下载
    积分:1
  • RD-RMA-CS
    成像算法 RD、RMA、CS 的 matlab程序(Imaging algorithm RD, RMA, CS The matlab program)
    2007-12-06 15:15:53下载
    积分:1
  • matlabimageprocessing
    matlab图像处理代码,基本上常用的都包含在里面了,挺好的,适用于基础学习。(matlab image processing code, basically common are included in the inside, and quite good for basic learning.)
    2009-12-15 14:48:15下载
    积分:1
  • ns_matlab
    该程序用matlab写成,已包含vof(根据Hirt的方法)内容,但该部分尚不成熟。对于不包含自由面的计算比较成功。(The program written with matlab, included vof (according to Hirt' s method) content, but that part is not yet mature. For the calculation of the free surface does not contain more successful.)
    2011-10-14 08:42:09下载
    积分:1
  • OMP-algorithm
    初学CS,自己编了很多算法,试试发出来大家一起交流,基于CS的OMP算法(OMP algorithm based on CS)
    2013-12-18 11:05:51下载
    积分:1
  • GPS2
    gps的捕获程序 ,完整的生成相关非相干积分,捕获门限判定(gps capture program ~ ~ ~ Complete generate relevant non-coherent integration, limit determination to capture the door ~ ~ ~ ~ ~ ~)
    2014-03-06 19:55:41下载
    积分:1
  • tuyi
    基于耦合模理论给出了光纤光栅中的双模耦合方程,采用传输矩阵法数值模拟了均匀光纤光栅和啁啾光纤光栅的反射谱(fiber grating coupled mode theory transfer matrix method optical properties )
    2012-10-13 13:39:11下载
    积分:1
  • motorsimulink
    基于比例趋近率的控制器实现位置跟踪,滑模控制(the position tracking based on proportion approach )
    2013-10-06 21:10:31下载
    积分:1
  • comVision
    图片印刷字符的识别(可识别多种字体) 将Matlab工作空间路径设置为本文件夹 在Matlab命令窗口内输入: numCongnition( able1/01.jpg ) 通过改图片来对不同的图进行处理,其中able1,able2,able3三个文件夹分别对应三种字体 命令窗口输出要识别的字符,并且自动弹出中间处理过程窗口 也可以运行: num = pretreat( able1/01.jpg ) imshow(num) 直接得到预处理后的图片 再键入: getNumber(num) 得到字符输出 (Set the Matlab workspace path to this folder In the Matlab command window input: NumCongnition ( able1/01. JPG) Through change pictures to deal with different figure, including able1, able2, able3 three folders corresponding to three kinds of fonts Command window output to identify characters, and automatically process among popup Windows Can run: Num = pretreat ( able1/01. JPG) Imshow (num) Directly after preprocessing of images Type: GetNumber (num) Get the output character)
    2014-02-17 16:37:48下载
    积分:1
  • 696518资源总数
  • 104384会员总数
  • 26今日下载