登录
首页 » Visual C++ » knapsackproblem

knapsackproblem

于 2010-03-09 发布 文件大小:41KB
0 256
下载积分: 1 下载次数: 4

代码说明:

   有不同重量的物品n件,求从这n件物品中任取一部分物品放入背包,使选中的物品的总重量不超过指定的限制重量,但选中物品的价值之合为最大。即任意给定物品个数及它们的重量和价值,在最大的限制重量一定的情况下,为了使价值最大,选出最优解。(There are different weights of items n pieces from n items in order to obtain any portion of the goods into the backpack, so that the total weight of the selected items does not exceed the specified weight limit, but the combined value of selected items as the greatest. That any given number of items and their weight and value limits the maximum weight of certain circumstances, in order to value the most, select the optimal solution.)

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

发表评论

0 个回复

  • shurufa_moni
    通过VC++实现输入法的简单原理,从而让初学者了解输入法编程的含义。(By the simple principle of VC++ input method, allowing beginners to understand the meaning of the input method programming.)
    2012-09-16 01:54:49下载
    积分:1
  • TPCdecoding.cpp
    用于实际工程应用中的TPC码译码程序,该程序是对于64*64类型的码型(TPC decoding)
    2010-09-19 17:37:51下载
    积分:1
  • tranfer
    二叉树的各类历遍算法的转换,包括前序,中序与后序。(binary tree transfer for students majoring in instruments.)
    2018-03-15 15:23:32下载
    积分:1
  • SerialDotNet2
    原本.net1.1都是采用justinIO.cs的,它调用的是winAPI,可能存在不同设备的兼容性问题。现在.net2直接在system.io.port下面有serialPort了,这样可以直接用。 鉴于.net2和.netCF2对于threading有不同的用法,所以两个版本都做了,分别是PC+.net2和wm5sp+.netcf2的。 由于smartphone的蓝牙都是默认com6和com7的,所以如果这个程序大家想用作蓝牙串行,在你们的桌面端蓝牙配置的时候要注意把虚拟串口重新定义到com6。具体做法以IVT Bluesoleil为例子,装好蓝牙驱动程序以后,会在设备管理器里面多出几个串行口;而IVT默认的串行口是com10/11,这样就要把设备管理器com10/11的高级属性里面的端口重新强制定义到com6/7,这样就可以了。因为我做蓝牙串行,所以程序代码中都采用了COM6, 9600, 8, N, 1 的通信格式。 本论坛也有cpp的smartphone串行程序,大家可以搜索一下。那个也不错,我调试的时候smartphone采用这个来调试的。()
    2007-09-06 16:58:26下载
    积分:1
  • ndislwf1
    NDIS 6中间层过滤驱动实现源代码,实现功能为网速限制,实现算法为漏桶算法。(NDIS 6 middle layer filter driver source code, to achieve the function of the speed limit, for the leaky bucket algorithm algorithm.)
    2014-08-14 09:02:25下载
    积分:1
  • superC++titel
    本书详细介绍了C++编程中用到的各种经典操作,算法以及程序开发思想,是初级程序员和软件工程师必不可少的珍贵资料。(The book detailed the C++ Programming used in a variety of classic operation, algorithm and program development thinking is the primary essential for programmers and software engineers valuable information.)
    2008-05-24 08:48:40下载
    积分:1
  • DEFINE_CG_MOTION
    fluent软件中采用DEFINE_CG_MOTION动网格的udf程序(using the the udf program DEFINE_CG_MOTION moving grid in fluent software)
    2020-11-20 09:39:37下载
    积分:1
  • Enrollment-Sample
    Enrollment system Enrollment Sample
    2012-10-22 18:31:35下载
    积分:1
  • design_2
    this is nto important but it is valuable for me
    2012-12-02 23:14:14下载
    积分:1
  • NEW_MAIN_CTRL
    说明:  对一些进程的简单控制,使用vs工具开发的winform程序,可供交流学习(It s a simple controller.)
    2011-04-07 16:04:00下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载