You could construct all subsets, check that the weight is less than the weight of the knapsack, and then choose the subset with the maximum value.
你可以构建所有子集,检查重量是否小于背包的重量,然后选择最大值的子集。
Starting with our use case and list of classes, we choose objects from those classes to interact, and we construct a SQD to show that interaction.
从用例和类表出发,我们从类里选择需要交互的对象,然后构造一张序列图表示这种交互。
And so you could construct all subsets, check that the weight is less than the weight of the knapsack, and then choose the subset with the maximum value.
因此你可以构建所有子问题,判断它的重量,是否小于背包的重量,然后选择值最大的子问题。
At project bid stage, developer choose construct and material supplier with idea on "quality have priority, price for time".
在项目招标阶段,开发商要以“质量优先,价格为次”的理念选择施工及材料供应商。
Text specialize compare result between cement stabilization grit and white chalk lime subgrade, it suggest choose mixture as cement stabilization grit mixing and construct experience of subgrade.
通过列举的水泥稳定砂砾与粒料、白灰土基层的比较结果,提出了选用水泥稳定砂砾混合料的配合比并介绍了基层的施工经验。
First of all, choose the microcontroller unit and components of a lower supply voltage, a wider voltage range to construct the hardware system of heat meter.
第一,选用供电电压较低、电压范围较广的微处理器和元器件构成热量表的硬件系统。
First of all, choose the microcontroller unit and components of a lower supply voltage, a wider voltage range to construct the hardware system of heat meter.
第一,选用供电电压较低、电压范围较广的微处理器和元器件构成热量表的硬件系统。
应用推荐