-
TS_TSP
解决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 )
- 2007-10-19 16:03:51下载
- 积分:1
-
code_23980764
RNW_perm(A)
利用Ryser-NW方法,计算n*n矩阵A的积和式。计算时间随着n
以2的指数倍增长。计算20*20以内的矩阵很快。
Hperm(A)
利用双元素展开计算非常稀疏的矩阵的积和式
symmRegular(n,k,m)
该命令要调用symmGen函数。
生成对称的k-regular n阶0-1矩阵的启发式算法。
参数n,k是必须的。m的默认值是10。
m设定尝试次数,如果该命令显示 fail ,表明经过m次尝试,
没有生成满足条件的矩阵。
symmGen(n,k)
这里k是一个n维向量,该命令启发式地生成一个以k为行和
的对称0-1矩阵。不能保证每次都成功,不过成功的概率一
般情况下尚可接受。(some useful code for numerical analysis)
- 2010-12-07 21:33:08下载
- 积分:1
-
mma7260
mma7260 加速度传感器 输出电压和倾角关系图绘制(mma7260 accelerometer and tilt sensor output voltage relationship mapping)
- 2011-01-06 20:02:02下载
- 积分:1
-
jububian
矩不变分割,分割效果明显,在Matlab下完美实现(Moment-segmentation, segmentation obviously perfect realization in Matlab)
- 2012-12-31 13:54:14下载
- 积分:1
-
reference-adaptive-Model-in-control
matlab code for beging cc motor...
- 2013-12-16 23:13:47下载
- 积分:1
-
sipangzi
用monte carlo 方法计算圆周率pi,采用的是随机投点法。以及另一个应用程序(with monte carlo methods calculated pi pi, the vote is random point method. And another application)
- 2007-05-16 09:39:35下载
- 积分:1
-
APwaveletPtourPofPsignalPprocessing
一本很好的小波分析书籍,是学习小波的必看之书(A wavelet analysis books, learning wavelet must-see book)
- 2013-01-22 20:41:34下载
- 积分:1
-
chap11
matlab PID 刘金琨《智能控制的MATLAB实现》(matlab PID)
- 2015-01-18 21:08:37下载
- 积分:1
-
LGBP-feature
提取Gabor特征,LBP特征,LGBP特征代码(extract Gabor feature,LBP feature and LGBP feature.)
- 2014-02-26 19:34:39下载
- 积分:1
-
Time-Frequency-Analysis-in-Matlab
Guide for time-frequency analysis in Matlab.
- 2011-05-05 16:04:48下载
- 积分:1