-
这是一个分治解决的零件切割问题:给定一块宽度为W的矩形板,矩形板的高度不受限制。现需要从板上分别切割出n个高度为hi,宽度为wi的矩形零件。切割的规则是零件的高...
这是一个分治解决的零件切割问题:给定一块宽度为W的矩形板,矩形板的高度不受限制。现需要从板上分别切割出n个高度为hi,宽度为wi的矩形零件。切割的规则是零件的高度方向与矩形板的高度方向保持一致。问如何切割使得所使用的矩形板的高度h最小?加上一个小界面-This is a solution to the partition cutting parts : a given 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 how cutting makes use of the rectangular plate height h minimum? A small interface
- 2022-06-11 21:05:53下载
- 积分:1
-
这是我学习数据结构与算法时编的关于队列操作的程序,对学习数据结构的朋友有帮助...
这是我学习数据结构与算法时编的关于队列操作的程序,对学习数据结构的朋友有帮助-This my learning algorithm and data structure when the series of the operation of the queue on procedures for the study of the data structure to help friends! !
- 2022-01-22 01:33:55下载
- 积分:1
-
以邻接矩阵作为图的存储结构,根据键盘输入创建图,并深度优先、广度优先遍历该图...
以邻接矩阵作为图的存储结构,根据键盘输入创建图,并深度优先、广度优先遍历该图-matrix as to the adjacent storage structure of the plan, according to the keyboard input to create map and depth of priority, breadth priority traversal of the plan
- 2022-11-07 21:25:03下载
- 积分:1
-
包括一阶二阶二叉树的遍历顺序,以P
二叉树遍历 包括先序遍历 中序遍历 后序遍历 求结点个数 求树的深度-Including the first order binary tree traversal traversal sequence in order to postorder traversal node number and ask for the depth of
- 2022-07-10 20:46:24下载
- 积分:1
-
航空公司管理信息系统
航空公司管理信息系统-airline management information system
- 2022-07-14 06:47:43下载
- 积分:1
-
清华版数据结构的代码实现
清华版数据结构代码实现-Qinghua version code data structure to achieve
- 2022-03-26 09:18:11下载
- 积分:1
-
由于简单模式匹配算法在一次字符比较失败后,简单的把模式串位置向前移动一个字符位置,这样就丢掉了前面字符匹配中得到的信息,效率差。所以就需要一种无回溯的算法来提高...
由于简单模式匹配算法在一次字符比较失败后,简单的把模式串位置向前移动一个字符位置,这样就丢掉了前面字符匹配中得到的信息,效率差。所以就需要一种无回溯的算法来提高效率,这里使用KMP(Knuth-Morris-Pratt)算法。模式串前面的连续片断部分称“前缀模式”,前缀模式在模式串后部重复出现的情况可以用来避免重复进行已经做过的检查,这是KMP算法中的一个重要概念。-as simple pattern-matching algorithm to compare a character failure, a simple model put forward position Series mobile location of a character, would be lost in front of characters matching the information inefficiently. There is a need for a non-backtracking algorithms to improve efficiency, the use of KMP here (Knuth-Morris-Pratt) algorithm. Model Series in front of a row clips part said "prefix model," prefix string pattern in the pattern of recurring back can be used to avoid duplication of inspection has been done, KMP algorithm is an important concept.
- 2022-03-19 13:35:27下载
- 积分:1
-
(1) 用一个4*20的二维数组M,第1行存放按从小到大排序的20个所给出的ai和bi,第2行存放相应的作业序号,第3行存放1或2(1代表是来自ai,2代表是来...
(1) 用一个4*20的二维数组M,第1行存放按从小到大排序的20个所给出的ai和bi,第2行存放相应的作业序号,第3行存放1或2(1代表是来自ai,2代表是来自bi), 第4行存放0或1(0代表作业序号未进入最优调度方案;1代表作业序号已进入最优调度方案)
(2) 排序完后,按课本所述方法求一种最优调度方案,存放在S中。
-(1) with a 4* 20 two-dimensional array M, the first a line to deposit a small to large order of 20 given by ai and bi, line 2 store operation corresponding serial number, the first three lines deposited one or 2 (a representative from the ai, 2 representatives from the bi), the first four rows stored 0 or 1 (0 for job number to gain access to optimal scheduling programs a job number has been entered on behalf of the optimal scheduling scheme) ( 2) Sort exhausted, according to the methods described in textbooks, seeking the optimal scheduling of a program stored in the S in.
- 2022-05-07 13:53:40下载
- 积分:1
-
vfp enterprise produces
vfp企业生产-vfp enterprise produces
- 2023-04-10 19:55:03下载
- 积分:1
-
Josephu问题,一元多项式的相加问题,模拟停车场管理问题等问题...
Josephu问题,一元多项式的相加问题,模拟停车场管理问题等问题-Josephu problem, a polynomial of the sum of the problem, simulated car park management and other problems
- 2022-02-02 12:00:01下载
- 积分:1