登录
首页 » 数据结构 » (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代表是来...

于 2022-05-07 发布 文件大小:843.40 kB
0 135
下载积分: 2 下载次数: 1

代码说明:

(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.

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

发表评论

0 个回复

  • Dual
    双线程对一系列随机数进行归并排序,使用MFC的控制台程序-Dual-threaded on a series of random numbers to merge sort, using the Console application in MFC
    2022-03-22 15:48:01下载
    积分:1
  • delphi 环境下邮件管理程序。
    delphi 环境下邮件管理程序。-mail management procedures.
    2022-08-08 14:17:21下载
    积分:1
  • In this paper, on the one hand, to produce the form of examples of the types of...
    本文一方面以实例的形式介绍产生数据封锁的各类情况,另一方面从数据库理论的角度加以分析,以期使读者既知其然,更知其所以然,使读者能够更加深入地理解Oracle的数据封锁机制,而不是简单地记住某些结论。-In this paper, on the one hand, to produce the form of examples of the types of data on the situation of the blockade, on the other hand, the theoretical point of view from the database to be analyzed in order to make the reader not only know-and know所以然, so that readers can be more in-depth understanding of Oracle data blockade mechanism, rather than simply to remember some of the conclusions.
    2022-06-02 15:41:14下载
    积分:1
  • SQL Server 2000编程员指南
    SQL Server 2000编程员指南-SQL Server 2000 Programming Guide
    2022-02-02 12:25:04下载
    积分:1
  • PHP 项目
    f 有代码在您的描述,请使用"插入代码"按钮要插入代码并选择编程语言。这会使你美丽的源代码和 attractive.f 有是在你的描述的代码,请使用"插入代码"按钮要插入代码并选择编程语言。这会使你美丽的源代码和 attractive.f 有是在你的描述的代码,请使用"插入代码"按钮要插入代码并选择编程语言。这会使你美丽的源代码和 attractive.f 有是在你的描述的代码,请使用"插入代码"按钮要插入代码并选择编程语言。这将使您的源代码美丽和有吸引力。
    2023-05-23 12:40:04下载
    积分:1
  • 一个计算SIN X的函,觉得算法还可以
    一个计算SIN X的函数,觉得算法还可以-a calculation SIN X function, algorithm can also think! !
    2023-01-29 02:45:03下载
    积分:1
  • 一个简单适用的产品订购系统,适合初学者使用
    一个简单适用的产品订购系统,适合初学者使用-A simple application of the product ordering system, suitable for beginners to use
    2022-08-17 23:03:04下载
    积分:1
  • XMathLib是一个通用的3D图形学库。 其中包含两个部分: XMathLib和XGeomLib。分别处理学和几何运算。 学部分包含向量、矩...
    XMathLib是一个通用的3D图形数学库。 其中包含两个部分: XMathLib和XGeomLib。分别处理数学和几何运算。 数学部分包含向量、矩阵、四元数的运算。以及其它的运算。 几何部分包含Box Frustum AABB OBB Ray Line Line-Segment Plan Triangle等的运算。-XMathLib is a generic 3D graphics math. Which consists of two parts : XMathLib and XGeomLib. Separate processing mathematical and geometric computing. The math section includes vector, matrix, quaternion arithmetic. , And other arithmetic. Geometric part consists Box Frustum AABB OBB Ray Line Line-Segme nt Plan Triangle such arithmetic.
    2023-04-15 11:00:03下载
    积分:1
  • 有关新型标的创见,插入,删除等操作.使用C语言编写的,自我感觉还不错...
    有关新型标的创见,插入,删除等操作.使用C语言编写的,自我感觉还不错-the subject of a new innovative, insert, delete operation. The use of the C language, and feel quite well
    2022-01-22 12:30:35下载
    积分:1
  • noi2008解题报告.内含详尽解答.并且含有.
    noi2008解题报告.内含详尽解答.并且含有数据.-noi2008 problem-solving report. contains a detailed answer. and contain data.
    2022-06-13 20:47:06下载
    积分:1
  • 696518资源总数
  • 106208会员总数
  • 21今日下载