-
01背包问题
01背包是在M件物品取出若干件放在空间为W的背包里,每件物品的体积为W1,W2……Wn,与之相对应的价值为P1,P2……Pn。考虑用动态规划的方法来解决,这里的:阶段是:在前N件物品中,选取若干件物品放入背包中; 状态是:在前N件物品中,选取若干件物品放入所剩空间为W的背包中的所能获得的最大价值;决策是:第N件物品放或者不放; 由此可以写出动态转移方程:我们用f[i,j]表示在前 i 件物品中选择若干件放在所剩空间为 j 的背包里所能获得的最大价值f[i, j] = max( f[i-1, j-Wi] + Pi (j >= Wi), f[i-1, j] )
- 2022-03-15 21:02:09下载
- 积分:1
-
数据挖掘算法
Data Mining 算法-Data Mining Algorithms
- 2022-07-18 00:49:12下载
- 积分:1
-
一个用到动态规划算法的acm题
一个用到动态规划算法的acm题-used a dynamic programming algorithm that acm
- 2022-11-29 07:30:03下载
- 积分:1
-
工作
车间作业调度问题用遗传算法解决的通用Matlab程序-Job-shop scheduling problem using genetic algorithms to solve the generic Matlab procedures
- 2022-02-13 16:01:51下载
- 积分:1
-
gabor+PCA表情识别
资源描述基于Gabor+pca识别人脸表情 ,很详细,用opencv实现的 对于学习pca算法的初学者很有用。
- 2022-01-31 14:51:46下载
- 积分:1
-
Moving average moving average prediction ModifyShiftAverageRegress.cs trends can...
移动平均预测 ModifyShiftAverageRegress.cs
移动平均也可画趋势图,如下:
public double forecast(int interval)
移动平均认为数据是时间序列数据,该方法预测interval个时间间隔后的值
public override double[] getTrendArray()
得到趋势数组,该数组的数据直接在图形中展示出来就可以产生趋势线。
-Moving average moving average prediction ModifyShiftAverageRegress.cs trends can also be painted as follows: public double forecast (int interval) consider moving average data are time-series data, the method of prediction interval of time after the interval the value of public override double [] getTrendArray () be the trend of the array, the array of data directly in the graphical display can be generated by the trend line.
- 2022-06-06 15:01:20下载
- 积分:1
-
counting procedures arbitrary point FFT and Wavelet Transform, and the choice of...
程序算任意点FFT和小波变换,以及可选择多种小波及小波变换后的单频带重够,另算信号的Lipschitz指数,高级数字信号处理!-counting procedures arbitrary point FFT and Wavelet Transform, and the choice of multiple wavelet and the wavelet transform of a single-band heavy enough, and another count signal Lipschitz index advanced digital signal processing!
- 2022-01-26 06:55:11下载
- 积分:1
-
latent dirichlet allocation C语言实现算法 LINUX 下运行
latent dirichlet allocation C语言实现算法 LINUX 下运行-latent dirichlet allocation the c implementation
- 2022-07-13 10:58:06下载
- 积分:1
-
dsvdvsvdsvxcxcvxcvvxcxcv
DSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDSDS
- 2022-01-29 01:42:29下载
- 积分:1
-
WSN网络中的LEACH协议源码
无线传感器网络中的LEACH协议,在MATLAB中仿真运行LEACH协议。一种基于分簇的协议,该协议利用本地簇头随机轮替
以均衡地分配网络中的传感器结点的能量负载。LEACH通过局部协调以保障动态网络的可测量性与健壮性,并将数据融合加入路由协议中以减少必须传递到基站的信息量。
仿真实验表明,相比传统路由协议,LEACH可以在能量消耗上达到高达八倍的减少。另外,LEACH允许在传感器结点中均匀地分布
能量消耗,在我们仿真的网络中使得有效的系统使用寿命增加了一倍
- 2023-02-27 00:10:03下载
- 积分:1