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

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

于 2022-10-31 发布 文件大小:1.34 kB
0 83
下载积分: 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 个回复

  • linux下的cure聚类
    是linux下的cure算法,比较完整 #if !defined(lint) && !defined(SABER) static char rcsid[] = "$Header: /usr/src/local/conn/cluster/RCS/cluster.c,v 1.23 1993/02/03 07:43:07 stolcke Exp $"; #endif    /* not lint */ #include #include #include #include "alloc.h" #include "error.h" #include "cluster.h" #define NONE (-2) #define BUFSIZE 256 #ifndef SCALE #define SCALE "_SCALE_" #endif #ifndef DONTCARE #define DONTCARE "D/C" #endif #ifndef MAXFLOAT #define     MAXFLOAT        ((float)3.40282346638528860e+38) #endif static FLOAT   distance(); static FLOAT   root(); static FLOAT   cure_distance(); static void    merge();
    2023-07-29 18:30:03下载
    积分:1
  • bpsk解调
    bpsk解调算法,比较好用,已经过测试 ,包含可执行程序,比较通俗易懂,适合初学者!!!!!!而且不是常见的matlab程序,是vc程序,用2005开发的。
    2022-01-30 11:00:14下载
    积分:1
  • Labview编写的中值滤波程序,可用数据数字处理。
    Labview编写的中值滤波程序,可用数据数字处理。-Written in Labview median filter process, available data digital processing.
    2022-05-23 03:51:04下载
    积分:1
  • 求解三波耦合方程
    向后差分,一阶,200个点,Z的范围[0 , 20],运行了50s。。。 各常数参数取值如下: VS = 2  ;VI = 2 ; VP = 2 ; K = 2(这个代表的是j*delt*k) ; J = 2 ; L = 20 ; 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
    2022-09-10 00:50:02下载
    积分:1
  • 表达式计
      /*   表达式计算                                                                 */   /*   调用方式:CalcExp("1+max(0.5,sin(1))+sum(1,2^3,mod(5,3))", res, infoStr)   */   /*   带符号参数调用方法,先调用符号定义AddSignParam,再调用 CalcExp:            */   /*        AddSignParam(["a","s"], [1, 0.5]);  或者 AddSignParam("a=1,s=0.5")    */   /*        CalcExp("1+a+sin(s)", res, infoStr)                                   */
    2022-03-25 07:34:54下载
    积分:1
  • 正弦信号估计的扩展卡尔曼滤波 & UKF
    M 文件包括的扩展卡尔曼滤波和卡尔曼 Filter(includes both nonaugment and augment) Unscent 估计正弦信号的算法。代码可以正确运行和结果显示明显。
    2023-05-23 10:40:03下载
    积分:1
  • DRJ Owen的非线性有限元程序(静力部分)。
    DRJ Owen的非线性有限元程序(静力部分)。
    2022-04-29 00:31:01下载
    积分:1
  • 我用MATLAB编写的傅里叶变换,不利用FF软件…
    采用Matlab自己编写的傅里叶变换,并不是使用软件提供的FFT2-I have written using Matlab Fourier transform, not using software provided by FFT2
    2022-03-02 17:36:01下载
    积分:1
  • 用C语言实现的各种,可以用于参考。适合于初学者,或者需要了解在c语言中的实现的朋友们。...
    用C语言实现的各种算法,可以用于参考。适合于初学者,或者需要了解算法在c语言中的实现的朋友们。-Using C language to achieve a variety of algorithms can be used for reference. Suitable for beginners, or need to understand the algorithm in c language realize friends.
    2022-01-20 22:53:39下载
    积分:1
  • EMD相关m文件
    EMD,相关,m文件EMD,
    2022-06-11 15:27:52下载
    积分:1
  • 696518资源总数
  • 105540会员总数
  • 37今日下载