登录
首页 » matlab » beibaoPSO

beibaoPSO

于 2010-05-18 发布 文件大小:1KB
0 184
下载积分: 1 下载次数: 155

代码说明:

  这份源代码是用粒子群算法解决0/1背包问题,可以正常运行。(The source code is the particle swarm algorithm to solve 0/1 knapsack problem, it works.)

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

发表评论

0 个回复

  • ForK1
    我们的目的是将一个分数拆分成若干个分子是1分母是正整数的分数之和的形式。例如2/3可以拆分成1/2+1/6的形式。这里不考虑顺序,比如1/6+1/2和1/2+1/6相同。 输入p, q, a, n, 其中p/q为分数,对这个分数进行拆分,要求拆分的分数个数不能多于n个,所有分母的乘积不能大于a。求有多少种拆分方法? 输入:最多200组数据。在每行中都有四个数分别表示p, q, a, n,之间以空格隔开,并且满足p,q<=800,a<=12000,n<=7,最后以四个0做为输入的结束。 输入示例: 2 3 120 3 2 3 300 3 0 0 0 0 输出示例: 4 7 (Our aim is to split a fraction into a number of elements is a denominator is a positive integer fraction of the sum of form. For example, 2/3 can be split into 1/2+1/6 form. Not considered here, the order, such as 1/6+1/2 and 1/2+1/6 of the same. Input p, q, a, n, where p/q as a fraction of this split scores require no more than the number of split points n-all the product of the denominator can not be larger than a. How many kinds of demand split method? Input: Up to 200 sets of data. In each line has four numbers indicate the p, q, a, n, separated by a space between, and meet the p, q < = 800, a < = 12000, n < = 7, the end, four 0 as the input end. Input Example: 2,312,032,330,030,000 sample output: 47)
    2009-11-12 09:54:17下载
    积分:1
  • matlab
    吴宇飞博士关于Turbo码的经典编程,方便大家学习和使用(a matlab programming of Turbo codes)
    2012-05-13 19:10:56下载
    积分:1
  • CSLMS
    CSLMS alogirthm used in signal processing
    2013-04-30 15:05:06下载
    积分:1
  • PMSM
    PMSG base on slip mode,can be successfully run in simulink.
    2012-11-06 15:36:06下载
    积分:1
  • Radio_2D_NF_FD
    自己写的2D FDTD 频域近远场变换程序, MATLAB(The 2D FDTD write your own frequency domain near to far field transformation program, MATLAB)
    2012-11-09 01:56:24下载
    积分:1
  • orl_faces
    人脸识别经典程序,包括模式识别的全部过程(Classical Face Recognition procedures, including the whole process of pattern recognition)
    2011-04-30 11:53:31下载
    积分:1
  • barkercode
    13位巴克码和线性调频的联合调制码元的频谱程序,可以自由设定起始频率和更变码元(this matlab code is suitable of 13barker code and LPM,you could give start frequency and end frequency)
    2014-05-08 09:15:50下载
    积分:1
  • demo_frenet
    Fourier Transform in Mathlab
    2021-04-07 09:49:01下载
    积分:1
  • haarwavelet
    transformasi wavelet haar in matlab, demo
    2015-04-09 01:23:40下载
    积分:1
  • finddiscrete
    该函数作用在于,最大值离边缘太近时仍能区分想要结果,适用于区分离散谱(distinguish discrete spectrum)
    2010-01-23 17:11:09下载
    积分:1
  • 696518资源总数
  • 106148会员总数
  • 10今日下载