登录
首页 » 算法 » 背包问题

背包问题

于 2022-03-04 发布 文件大小:29.93 kB
0 316
下载积分: 2 下载次数: 1

代码说明:

背包问题或背囊问题是组合优化中的一个问题: 鉴于一组项目,每个都有大量和一个值,确定每个项目中包含在集合中,这样,总重量是小于或等于给定的限制和总价值是尽可能大的编号。它把它的名字源于所面对的人的问题,受的限制,大小固定的背包,并必须填充的最有价值的项目。 此代码是背包问题的动态编程和递归函数。

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

发表评论

0 个回复

  • 非局部均值方法
    用matlab实现non-local means 算法,在该实现版本中使用了进行了局部搜索优化,一定程度上提高了算法的效率
    2022-05-30 13:28:34下载
    积分:1
  • 用于生物医学信号处理的视觉信号处理,胃心电信号…
    为用Visual C++编写用于生物医学信号处理,胃电信号心电信号处理的的方法-to use Visual C preparation for biomedical signal processing, stomach ECG signal processing methods
    2022-08-23 03:55:35下载
    积分:1
  • 人工智能A*算法求解八数码
    运行环境说明(2013.11.22) 1.操作系统: ubuntu 13.10 2.集成开发环境: geany-1.23.1 + gcc-4.8.1 3.由于linux操作系统与windows操作系统采用不同的编码格式,在windows下查看相关文档或源代码可能会有乱码问题,如需调试运行,请迁移到相关环境。
    2022-08-18 17:06:11下载
    积分:1
  • ssd5 机试二
    数据结构第二次实验课考试,停车场那个。只有main.cpp。
    2022-01-23 10:11:12下载
    积分:1
  • 表达式处理及数制转换
    表达式处理及数制转换-expression processing system conversion, and several
    2022-03-13 09:13:04下载
    积分:1
  • Monte Carlo method known as random or statistical skills test method. More than...
    蒙特卡罗方法又称随机抽样技巧或统计试验方法。半个多世纪以来,由于科学技术的发展和电子计算机的发明 ,这种方法作为一种独立的方法被提出来,并首先在核武器的试验与研制中得到了应用。蒙特卡罗方法是一种计算方法,但与一般数值计算方法有很大区别。它是以概率统计理论为基础的一种方法。由于蒙特卡罗方法能够比较逼真地描述事物的特点及物理实验过程,解决一些数值方法难以解决的问题,因而该方法的应用领域日趋广泛。 -Monte Carlo method known as random or statistical skills test method. More than half a century, the development of science and technology and the invention of the electronic computer, this method as an independent method was raised and the first nuclear test and research has been applied. The Monte Carlo method is a calculated, but with the general numerical method a great difference. It was based on the theory of probability and statistics-based approach. As the Monte Carlo method can vividly describe things and the physical characteristics of the experimental process, numerical methods to solve some difficult problems, the result of the increasingly extensive application areas.
    2022-07-14 13:23:24下载
    积分:1
  • MSP430G0553官方例程注释
    资源描述MSP430G2553官方例程,带有注释,可以方便学习调试430单片机,基本所有的程序都有,IO,中断串口SPI,IIC,AD,内部温度采集,Lauchpad对应使用方便
    2022-01-26 03:50:30下载
    积分:1
  • 奇异分解,针对不能求逆的情况下,才用svd方法就能够解方程...
    奇异分解,针对不能求逆的情况下,才用svd方法就能够解方程-Singular decomposition, for the case of inversion should not only be able to use SVD approach equation solution
    2022-03-02 18:40:59下载
    积分:1
  • 鼠标移动得到图片的颜色值和坐标
    vs2008开发工具,c#编写程序,打开图片,然后鼠标点击图片,得到颜色的RGB值和点击图片的位置坐标……得到颜色值的部分代码如下:                 Color pointColor = bmp.GetPixel(X, Y);                 textBox1.Text = pointColor.R.ToString();                 textBox2.Text = pointColor.G.ToString();                 textBox3.Text = pointColor.B.ToString();                 LAB_POS.Text = "坐标:" + X.ToString() + "," + Y.ToString();
    2022-03-16 06:55:49下载
    积分:1
  • 算法大师Donald E.Knuth的经典著作《Concrete Mathematics具体数学》,算法学习的基础...
    算法大师Donald E.Knuth的经典著作《Concrete Mathematics具体数学》,算法学习的基础-algorithm master Donald E. Knuth classics "Concrete Mathe Matics specific math. "the foundation of learning algorithm
    2022-05-07 23:54:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载