-
1.在选择装入背包的物品时,对每种物品I只有两种选择,即装入背包或不装入背包。不能将物品I装入背包多次,也不能只装入部分的物品I。
2.物品的种数,重量、价...
1.在选择装入背包的物品时,对每种物品I只有两种选择,即装入背包或不装入背包。不能将物品I装入背包多次,也不能只装入部分的物品I。
2.物品的种数,重量、价值,背包的容量要求输入;
3.算法中加入剪枝函数(对重量已经超过限制重量的子树不搜索);
-1. In the selection of the items into the backpack, for each of the items I have only two choices, that is loaded or not loaded backpack backpack. Items should not be many times I load backpack can not only part of the goods loaded I. 2. Number of species items, weight, value, capacity backpack for the importation 3. Algorithm to add pruning function (of weight over the weight limit does not search sub-tree)
- 2022-03-25 05:48:01下载
- 积分:1
-
调用三个函数实现求数组中每一行的平均值
调用三个函数实现求数组中每一行的平均值-Three function calls for implementation of each line array average
- 2023-09-03 16:05:03下载
- 积分:1
-
嵌入式系统c语言编程入门(5),关于c语言编程的书籍
嵌入式系统c语言编程入门(5),关于c语言编程的书籍-C language programming of embedded systems portal (5), on c language programming books
- 2023-07-26 11:25:03下载
- 积分:1
-
问题描述:
一杯沸水冷却,圆柱体模型,底面半径0.05m,高0.1m,周围温度20度,初始水温100度
方程是四维输运方程(常数a^2=k/(c*...
问题描述:
一杯沸水冷却,圆柱体模型,底面半径0.05m,高0.1m,周围温度20度,初始水温100度
方程是四维输运方程(常数a^2=k/(c*p),k是热传导系数0.6006焦/(米*秒*度))
初始条件:t=0时水等于100度
边界条件:1.上下壁都是自由冷却,第三类边界条件,周围温度保持在20度(H=k/h,h取1)
2.杯壁绝热,第二类边界条件
图形显示格式,取过圆柱轴的截面温度变化将其做成动画.
-Problem description : a cup of boiling water cooling cylinder model, the bottom radius of 0.05m, 0.1m high. temperature around 20 degrees, initial temperature of 100 degrees equation is four-dimensional equations (a constant ^ 2 = k/(c* p), k is the thermal conductivity coefficient of 0.6006 Coke/(m** seconds degrees)) initial conditions : t = 0 to 100 degree water boundary conditions : 1. upper and lower walls are free cooling, the third boundary conditions, maintain the temperature around 20 degrees (H = k/h, h for 1) 2. Beibi insulation, The second category boundary conditions graphics format, cylindrical shaft for the cross section of its temperature changes caused animation.
- 2022-05-12 17:55:03下载
- 积分:1
-
本程序是为了计算日变化的平均值。
输入文件的数据格式是
2006 9 20 0 30 12577 0.263253 2.74975...
本程序是为了计算日变化的平均值。
输入文件的数据格式是
2006 9 20 0 30 12577 0.263253 2.74975 -0.0157112 0.55523 8.65E-05 -7.9142 17.606
该输入文件按列为:年、月、日、时、分、序号、各量
计算结果将保存在数组里,如T【24】,24表示24小时(因为是1小时的平均)。
对输入文件的行进行循环,计算1小时的平均,该行的数据将累计平均到下标取“时”列的数组中。
-this program is to calculate the average daily change. Data input file format is 2006 9 20 0 30 12577 0.263253 2.74975-0.0157112 0.55523 8.65E-05-7.9142 17.606 of the losers into the document, as : year, month, day, hour, minute, serial number, the calculation results will be stored in the array, such as T [24]. 24 said 24 hours (because it is an hour average). On the importation of paper recycling firms, the calculation of the average one-hour, The data will be the cumulative average subscript taking "when" out of the array.
- 2022-07-02 15:40:35下载
- 积分:1
-
Packet tools (latest version)
封包工具(最新版)-Packet tools (latest version)
- 2022-02-13 17:24:12下载
- 积分:1
-
k_junzhi大家能明白么?就是用来分类的方法,有时间可以使用一下。对所提供的数据还是可以使用的。...
k_junzhi大家能明白么?就是用来分类的方法,有时间可以使用一下。对所提供的数据还是可以使用的。-k_junzhi people can understand? The classification is used, it can use what time. Of the available data can still be used.
- 2023-09-04 12:10:03下载
- 积分:1
-
俄罗斯方块,改变了常规的方块的形状,演示了如何修改
俄罗斯方块,改变了常规的方块的形状,演示了如何修改-Tetris has changed the conventional box shape, demonstrates how to modify and so on
- 2022-07-01 04:45:04下载
- 积分:1
-
vb MSHFlexGrid +access数据库实例
vb MSHFlexGrid带数据库版本的MSHFlexGrid用法例子,若你对此数据加控件用法不熟悉,本源码非常适合你。
- 2023-05-18 23:30:04下载
- 积分:1
-
下部显示缩略图的点小图切换大图幻灯片代码
下部显示缩略图的点小图切换大图幻灯片代码,以前都说这是图片展示,反正就是那一类吧,JS内核的网页图片切换特效,纵向排列,大图下边显示三个小图,点击任意小图,切换上边大图片,以渐变淡入淡出的方式切换图片。
- 2022-09-23 11:45:03下载
- 积分:1