登录
首页 » Visual C++ » knapsackproblem

knapsackproblem

于 2010-03-09 发布 文件大小:41KB
0 185
下载积分: 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 个回复

  • chengxu
    循迹小车 可以循迹 壁障 寻光 检测金属数量等功能(Tracking Vehicle Tracking barrier can find the number of features such as optical detection of metal)
    2009-10-18 09:41:53下载
    积分:1
  • BMP
    bmp压缩算法 联合开发网 - pudn.com
    2020-06-16 10:20:01下载
    积分:1
  • cdfd
    说明:  完全平方数代码,并且其中的两个字母相同,这是window代码(Full square code, and one of the two letters the same, this is the code window)
    2010-05-04 12:05:32下载
    积分:1
  • 4754757
    使应用程序支持网页浏览,VC++精选学习源码,很好的参考资料。(The application supports webpage browsing, select learning VC++ source code, a good reference.)
    2013-11-20 14:46:29下载
    积分:1
  • MFC-ODBC-database-applications
    MFC应用程序ODBC数据库,可以运行成功的使用MFC编写的c++代码(MFC ODBC database applications)
    2014-06-25 11:15:21下载
    积分:1
  • Oracle_VB_1737944262004
    Oracle VB Project,VB语言开发的oracle数据库应用,涉及到的技术很全面(Title: Oracle VB Project Description: Hi, This project gives you an idea how to access ORACLE through VB and ADO. Project describe How you interacting with ORACLE Table, view, Stored Procedure, Type, Package, Package Body, Synonyms, Sequence etc. I developed an Active X Skin which is used throughout the project. If you want to test the Skin just put the controls (OFrmCtl, Edge Right, Edge Bottom, Edge Region) in a form and run the project. Please close the project FORM CLOSE Button, otherwise IDE will be crashed. Please check all the menus and form. Now, I抦 trying to develop this project in Visual Basic.NET. Resize the form From X Axis and Y axis. Check it out. Using of My developed Active X Skin and other components are strongly prohibited. This file came Planet-Source-Code.com...the home millions of lines of source code You can view comments on this code/and or vote on it at: http://www.Planet-Source-Code.com/vb/scripts/ShowCode.asp?txtCodeId=53409&lngWId=1 The author may h)
    2015-08-28 19:44:26下载
    积分:1
  • Print1ToMaxOfNDigits
    输入一个十进制数字,打印出其二进制所包含的1的个数,空间复杂度很小(Enter a decimal number, print out its binary contains a number, a very small space complexity)
    2013-09-04 19:15:43下载
    积分:1
  • SnapCap
    screen snap:屏幕抓屏源代码。(screen snap : Capturing screen source code.)
    2006-09-16 10:48:48下载
    积分:1
  • MultiThSerial
    调用WinAPI函数进行串口通信,并且应用了多线程技术启动工作线程对串口的输入进行监听(call WinAPI serial communication functions, and uses multi-threading technology to activate the working threaded serial input eavesdropping)
    2005-03-18 23:47:27下载
    积分:1
  • F2812-fft--TI
    Fast Fourier Transform (FFT). Using 8 points, takes about 1.2 ms to execute one FFT. Sets up General Purpose Timer 1 to generate events at 10 kHz. Will produce 10 kHz output on T1PWM and T1PWM pins.(Fast Fourier Transform (FFT). Using 8 points, takes about 1.2 ms to execute one FFT. Sets up General Purpose Timer 1 to generate events at 10 kHz. Will produce 10 kHz output on T1PWM and T1PWM pins.)
    2012-07-02 21:19:50下载
    积分:1
  • 696518资源总数
  • 105651会员总数
  • 15今日下载