登录
首页 » 算法 » 给定一块宽度为W的矩形板,矩形板的高度不受限制。现需要从板上分别切割出n个高度为hi,宽度为wi的矩形零件。切割的规则是零件的高度方向与矩形板的高度方向保持一致...

给定一块宽度为W的矩形板,矩形板的高度不受限制。现需要从板上分别切割出n个高度为hi,宽度为wi的矩形零件。切割的规则是零件的高度方向与矩形板的高度方向保持一致...

于 2022-10-31 发布 文件大小:1.34 kB
0 108
下载积分: 2 下载次数: 1

代码说明:

给定一块宽度为W的矩形板,矩形板的高度不受限制。现需要从板上分别切割出n个高度为hi,宽度为wi的矩形零件。切割的规则是零件的高度方向与矩形板的高度方向保持一致。要求求出一种切割法使得所使用的矩形板的高度h最小.用递归及分治法解此问题-given a width of the rectangular plate W, the height of rectangular plate unrestricted. Board is required from the respective cut out n height of the hi, wi width of the rectangular parts. Cutting parts to the rules of the height of the rectangular plate with a high degree of consistent direction. Asked obtained a law made by cutting the use of the rectangular plate height h minimum. Using recursive and partition Solving this problem

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

发表评论

0 个回复

  • 经典的Josephus问题C程序
    经典的Josephus问题C程序-classic problem Josephus C Program
    2022-08-07 03:49:29下载
    积分:1
  • 支持向量机 用于训练车辆检测
    选取200正样本车辆  200负样本 通过提出样本的hog特征,并进行训练。实验结果能很好的对监控视频中的车辆进行识别跟踪,且效果良好。
    2023-02-08 23:55:11下载
    积分:1
  • 基本种群规模改进与数值实验的PSO源程序,可自动保存实验数值,附有画图源代码。...
    基本种群规模改进与数值实验的PSO算法源程序,可自动保存实验数值,附有画图源代码。-Basic population size and numerical experiments to improve the PSO algorithm source code can be automatically saves numerical experiment with drawing the source code.
    2022-01-28 22:31:11下载
    积分:1
  • n皇后问题的进阶解简单,注意输入的N可能没有解,比如2...
    n皇后问题的进阶解法,算法简单,注意输入的N可能没有解,比如2-n Queen of the intermediate solution, the algorithm is simple, pay attention to the N input may not solved, such as the two
    2022-07-08 20:45:07下载
    积分:1
  • 用matlab编写的线性规划之单纯型方用来求解一些简单的线性规划问题...
    用matlab编写的线性规划之单纯型方法用来求解一些简单的线性规划问题-using Matlab prepared by the linear planning simple method for solving some simple linear programming problem
    2022-10-16 09:30:03下载
    积分:1
  • EStereo/Stereo Plus
    EStereo is a C++ library that enables to perform real-time dense stereo from 2 or 3 rectified images. StereoPlus is a GUI-based application allowing a user to load images and compute their disparity image and visualize/manipulate their 3D reconstruction (requires DirectX 9.0 or higher). 
    2022-06-13 01:41:19下载
    积分:1
  • prims algorithm
    该算法基于贪心方法。该算法用于寻找连通无向图的最小生成树。该算法用于加权边缘。图的生成树包含图的所有顶点,如果图包含n条边,则只包含图的(n-1)条边。
    2023-02-01 19:25:04下载
    积分:1
  • lpcc hmm语音识别系统
    这是一个用c语言写的特定人的词语识别系统。此系统由于写的比较早,因此在语音识别过程中使用的语音特征是LPCC。而不是现在比较流行的MFCC特征。此程序也是我从网上找的,里面有作者的信息。此系统主要是用于科研实验而编写的一个语音识别系统,不能作为企业的产品。
    2022-07-27 15:11:26下载
    积分:1
  • Computational fluid dynamics as a new method of landmark
    用于计算流体的离散方程的计算,一般的方法,只适用于计算流体-Computational fluid dynamics as a new method of landmark-sharing. roe format structure for the difference scheme provided a new field of brand new! Fortran prepared
    2023-07-03 23:55:02下载
    积分:1
  • 包含几乎所有的排序
    包含几乎所有的排序算法-contains almost all the Sort Algorithm
    2022-06-20 03:57:25下载
    积分:1
  • 696516资源总数
  • 106432会员总数
  • 11今日下载