登录
首页 » 算法 » C语言实现的0/1背包问题

C语言实现的0/1背包问题

于 2022-06-15 发布 文件大小:231.22 kB
0 145
下载积分: 2 下载次数: 1

代码说明:

主要用来解决0/1背包问题,实现的计算机语言是C语言,通过随机的产生物品的信息,通过此算法决定哪些物品放入背包中,哪些放弃。

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

发表评论

0 个回复

  • VB function of the body and optimization including 0.618 search, not derivative...
    VB的函数体及优化包括0.618搜索、Brent不导数法、Brent导数法、多函数Hill单纯形法、多函数作为准则
    2022-11-23 14:35:04下载
    积分:1
  • 编译原理实验LL1文判断C语言实现
    应用背景编译原理实验中的LL1文法判断,输入文法,分为可推出空判断、first集、follow集、select集的计算,最后判断是否是LL1文法。代码有注释,各模块功能齐全。关键技术用到了一些C库函数,代码还可进行精简,注重代码重用,阅读容易。
    2022-06-18 06:44:54下载
    积分: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.
    2022-07-13 17:37:31下载
    积分:1
  • HMM中经典的前向后向,带有比例因子
    HMM中经典的前向后向算法,带有比例因子-classical HMM back to the first algorithm, with a scale factor
    2022-06-26 06:31:11下载
    积分:1
  • 双线性内插实现图片缩放
    代码共一个.c文件,代码包括三个函数,实现对图片的锐化、平滑、缩放(双线性内插实现)。
    2022-11-09 03:35:03下载
    积分:1
  • 后缀树实现在Java中
    后缀树实现在java中。该算法后缀树实现。字符串是从控制台输入和输出是在输出文件中生成。
    2022-03-21 03:14:03下载
    积分:1
  • reverberant_signal_array
    simarraysigim.m roomimpres.m imagesim.m delayt.m
    2022-03-02 20:00:47下载
    积分:1
  • 207.142.131.235 France for the largest matrix eigenvalue shape function paramete...
    乘幂法求矩阵最大特征值函数形参分别为所求矩阵及矩阵的行列数-207.142.131.235 France for the largest matrix eigenvalue shape function parameters for the request matrix and the ranks of several matrix
    2022-11-20 03:40:03下载
    积分:1
  • Kruskal的最小生成树解决分配问题(分配…
    用Kruskal算法构造最小生成树解决指派问题(assignment problem) 一家公司经理准备安排 名员工去完成 项任务,每人一项。由于各员工的特点不同,不同的员工去完成同一项任务时所获得的回报是不同的。如何分配工作方案可以使总回报最大? -Kruskal Algorithm used to solve assignment problem minimum spanning tree (assignment problem), a manager of the company prepare arrangements for employees to complete tasks, each one. As a result of the characteristics of different staff, different staff to accomplish the same mission when the return is different. How to allocate the work program can make the greatest total return?
    2022-03-18 14:16:52下载
    积分:1
  • 交错的网格有限差分弹性波模拟
    这是一个简单但有用的标准交错的网格有限差分弹性波建模 c 代码写自己。完全匹配的层技术用于吸收人工反射从边界。它是一个好的教程代码,为那些想要学习如何以模拟地震波的传播。
    2022-05-08 16:58:48下载
    积分:1
  • 696516资源总数
  • 106409会员总数
  • 8今日下载