-
Question1
说明: C++源代码,递归实现。原问题描述:鼓上蚤时迁到一个山洞里去盗宝,里面有n件宝贝,价值分别是a1,a2......an,并且满足ai大于a1+a2+....+a(i-1)的和。他身上有一个背包,能装的东西最大价值是K,他只能进洞一次,请问他最多能带出多少?
要求:输入K,n,a1,a2......an
输出:他能最多带出的宝物价值
(C++ Source code Recursive achieve. The original problem description: drum when flea盗宝going to move in a cave, there are n pieces of treasure, valued are a1, a2 ...... an, and to meet ai than a1+ A22B !....+ a (i-1) and. Him to have a backpack, things can hold the greatest value is K, he could only hole once, to ask him to bring out the maximum number of? Requirements: Enter K, n, a1, a2 ...... an output: he can bring out the maximum value of the treasures)
- 2008-12-02 21:07:25下载
- 积分:1
-
optimized-genetic-model
改进的克隆选择算法求函数的极值
操作:高频变异、编辑、选择
多峰值函数优化,求函数的极值(Clonal selection algorithm for improved function extremum)
- 2014-11-02 10:39:55下载
- 积分:1
-
teager
说明: teager能量算子的程序,离散时间的Teager能量算子的一个重要的特性是,它仅需要三个样本点就可以并且几乎是实时地估计出能量信息(The teager energy operator program, an important feature of the discrete-time Teager energy operator is that it requires only three sample points and can estimate energy information almost in real time)
- 2020-04-06 17:17:04下载
- 积分:1
-
CHAP06
是Matlab图像处理的原程序代码,适合初学者使用。(Matlab image processing is the original code, suitable for beginners.)
- 2010-01-24 16:48:23下载
- 积分:1
-
diffraction
二维双凹激光振荡,采用菲涅尔衍射和fox-li方法,得到两维幅度和相位输出(-Two-dimensional double-concave laser oscillation, using Fresnel diffraction and the method of fox-li, the two-dimensional amplitude and phase output..txt)
- 2014-11-03 12:58:07下载
- 积分:1
-
enframe
一种分帧算法 比较简单基础 基于matlab 请大家分享(A simple algorithm based on sub-frame based on matlab)
- 2011-06-05 12:55:18下载
- 积分:1
-
ray
瑞利衰落信道和莱斯衰落信道matlab仿真代码(Rayleigh fading channels and Rice fading channel matlab simulation code)
- 2021-01-15 10:58:46下载
- 积分:1
-
RCC
核查的关键在于对核材料属性准确、有效地识别[1][2]。利用252Cf作为随机脉冲中子源,对其入射核材料所产生的诱发裂变中子脉冲信号进行采集、处理和分析,得到自相关、互相关、自/互功率谱、功率谱密度比等一系列参数,从而反演核材料内部的反应性的情况,便可用于分析和识别核材料,其基本原理就是252Cf中子源驱动噪声分析测量法[(The result shows that the trained Elman neural network is able to identify the characteristics of correlation function, to distinguish different concentrations, and the average recognition rate reaches 90 , with high robustness.)
- 2013-09-04 11:12:10下载
- 积分:1
-
fuzzycontrol
模糊控制一级线性倒立摆系统MAtlab、simulink仿真(A linear inverted pendulum fuzzy control system MAtlab, simulink simulation)
- 2013-12-24 21:55:12下载
- 积分:1
-
Algorithm
一些有关ga的论文 都是精心收集的 包含多个方向(Some papers are concerned ga carefully collected)
- 2015-03-31 09:25:35下载
- 积分:1