-
0 / 1背包问题是一个N P
0 / 1背包问题是一个N P-复杂问题,为了解决该问题,,将用回溯算法解决该问题。既然想选择一个对象的子集,将它们装入背包,以便获得的收益最大,则解空间应组织成子集树的形状(如图1 6 - 2所示)。该回溯算法与4 . 2节的装载问题很类似。首先形成一个递归算法,去找到可获得的最大收益。然后,对该算法加以改进,形成代码。改进后的代码可找到获得最大收益时包含在背包中的对象的集合。-0/1 knapsack problem is a P-complex issues, in order to solve the problem, and will be used backtracking algorithm to solve the problem. As to the choice of a subset of object, they will load a backpack, in order to obtain the greatest profits, the solution should be organized into space subset of the shape of the tree (Figure 1 6-2 below). The backtracking algorithms and 4. Two loading problem is very similar. Forming a recursive algorithm to get the maximum benefit available. Then, this algorithm is modified to form code. Improved code can be found at the maximum benefits included in the backpack of a collection of objects.
- 2022-02-26 09:06:08下载
- 积分:1
-
深度人工智能
机器学习(Machine Learning, ML)是一门多领域交叉学科,涉及概率论、统计学、逼近论、凸分析、算法复杂度理论等多门学科。专门研究计算机怎样模拟或实现人类的学习行为,以获取新的知识或技能,重新组织已有的知识结构使之不断改善自身的性能。它是人工智能的核心,是使计算机具有智能的根本途径,其应用遍及人工智能的各个领域,它主要使用归纳、综合而不是演绎。
- 2022-06-30 17:21:30下载
- 积分:1
-
c++实现的对电话进行计费的系统,涉及到闰年平年的判断及夏时制冬时制的转换问题...
c++实现的对电话进行计费的系统,涉及到闰年平年的判断及夏时制冬时制的转换问题-c achieve the right telephone billing system, which involves non-leap year of a leap year in the judgment and daylight saving time in winter when the system conversion,
- 2022-04-26 10:49:36下载
- 积分:1
-
VC++实现的一个计算器,采用了一个高手写的按钮类,界面友好...
VC++实现的一个计算器,采用了一个高手写的按钮类,界面友好-VC to achieve a calculator, using a button to write a master class, user-friendly
- 2022-06-14 15:07:42下载
- 积分:1
-
function Add two number with OOD
等级Cal{
- 2022-10-23 14:10:03下载
- 积分:1
-
用于计算方柱、球RCS的matlab程序
是一个利用利用有限差分方法计算二维方形柱体雷达散射截面的程序,用matlab编写,程序非常完整,规范,非常适合于初学者,另外还附带了物理光学法计算导体球雷达散射截面的例子,这个虽然比较简单,但是对初学者来说也是理解学习编程的一个很好的例子。
- 2022-01-25 18:53:05下载
- 积分:1
-
FFT源代码汇集(各种FFT源代码)
FFT源代码汇集(各种FFT源代码)-FFT source code pool (FFT various source code)
- 2022-03-23 01:04:23下载
- 积分:1
-
常用算法的C程序。主要内容包括多项式的计算、复数运算、随机数的产生、矩阵运算、矩阵特征值与特征向量的计算、线性代数方程组的求解、非线性方程与方程组的求解、插值与
常用算法的C程序。主要内容包括多项式的计算、复数运算、随机数的产生、矩阵运算、矩阵特征值与特征向量的计算、线性代数方程组的求解、非线性方程与方程组的求解、插值与逼近、数值积分、常微分方程组的求解、数据处理、极值问题的求解、数学变换与滤波、特殊函数的计算、排序和查找。-Commonly used algorithm of C procedures. Include polynomial terms, complex computation, random number generation, matrix operations, matrix eigenvalue and eigenvector calculations, linear algebra equations, nonlinear equations with the equations, interpolation and approximation, numerical integration, solving ordinary differential equations, data processing, for solving extremum problems, mathematical transformation and filtering, the calculation of special functions, sorting and search.
- 2023-04-24 15:00:03下载
- 积分:1
-
变压器的有限元计算程序
该程序对变压器进行了网格高质量的剖分,并用有限元方法对变压器的电势值进行了计算。其中用到了FREEFEM++,不但让大家可以了解到freefem++功能的强大,而且还能了解变压器的有限元计算具体过程。
- 2022-02-20 13:23:55下载
- 积分:1
-
opencl 本征值
这种算法是本征值。它是 1 d 和 2 上的基地。此算法有很好的表现。有人想要研究 opencl 使用这将会非常简单。
与该应用程序有很多的命令。输入-h 以显示所有的命令。例如,-t 是打印的时间它成本。
和 — — 设备 gpu 是选择 gpu 为执行设备。.内核是非常简单易懂。
我们可以使用 opencl 加速应用程序。使用 opencl 将是主要趋势。
而且我很运气的 sdk 开发的惠顾。我们做大量的测试。和修复一些 bug。和优化内核。
它是非常酷。
- 2022-06-17 15:12:41下载
- 积分:1