文件名称:tan-xin-suan-fa
-
所属分类:
- 标签属性:
- 上传时间:2015-08-08
-
文件大小:11.97kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
C语言结构化实现贪心算法,利用贪心策略解决背包问题。现有载重为M公斤的背包和n种货物。第i种货物的重量为Wi,它的总价值为Pi,假定M、Wi、Pi均为整数。设计程序给出装货方法,使装入背包的货物总价值达到最大-Using the greedy strategy to solve knapsack problem. Existing load for M kg backpack and n kinds of goods. The kind of the weight of the goods as I Wi, the total value of it as the Pi, M, Wi, Pi are assumed to be an integer. Design procedure is given loading method, make the goods loaded backpack maximum total value
(系统自动生成,下载前可以参看下载内容)
下载文件列表
7.实验七/实验7 贪心算法设计.doc
7.实验七/第一题.c
7.实验七/第二题.c
7.实验七
7.实验七/第一题.c
7.实验七/第二题.c
7.实验七
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
