登录
首页 » 数据结构 » (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 123
下载积分: 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 个回复

  • minilist类的实现。的作业之一,用c++实现minilist类,已经通过测试。...
    minilist类的实现。数据结构的作业之一,用c++实现minilist类,已经通过测试。-minilist class implementation. One of the data structures, using c++ implementation minilist classes have been tested.
    2022-04-22 16:56:44下载
    积分:1
  • 机器人系统
    简介: Whatis 机器人: 机器人是 mechanicaldevice,有时类似于一个人,是有能力执行晚熟往往是复杂的人工任务,命令或通过预先编程。                项目是关于: 这种机器人在这里我 haveused 蓝牙模块,控制机器人通过 2 博电机在 100 RPM appoxthe 机器人是控制由一部 android 手机应用单片机因此 AT89S52 形式 8051 家族在串行通信 UART 模式交流工作在 9800 bps 沟通与 Bluetoothmodule 蓝牙 moduleused 是 HC-05 在 smd 包装这项作用于 3.3 v 和 serialcommunication 与它相连的任何设备上配置通信速度可以在各种速度通过 AT 命令的功能。  蓝牙模块是修饰语支持配置文件,所以它可以轻松地连接到任何模块或电话。从这个数据可以发送和接收模块的配置文件。家单片机和 RX 引脚是 BT 模块姻亲。  L293D 是 motordriver IC 操作在任何方向需要依赖上逻辑应用于逻辑针脚的电动机。  我已经用来避免机箱包含的 2decks 低用于拟合上部的博汽车底盘总成的成衣 compactsize 机箱用作 batterystack 有顶部板板安装由螺丝固定。
    2022-01-26 06:42:33下载
    积分:1
  • derby database source code.good for you.
    derby database source code.good for you.
    2022-01-25 18:18:49下载
    积分:1
  • 考研辅导材料,包含6章(.ppt文档)
    考研数据结构辅导材料,包含6章(.ppt文档)-taking tests guidance material contained in Chapter 6 (. Ppt files)
    2023-02-07 09:20:03下载
    积分:1
  • Prim algorithm using minimum spanning tree of the experimental procedures used i...
    用prim算法实验最小生成树 本程序中用到函数adjg( ),此函数作用是通过接受输入的点数和边数,建立无向图。函数prg( )用于计算并输出无向图的邻接矩阵。函数prim( )则用PRIM算法来寻找无向图的最小生成树 定义了两个数组lowcost[max],closest[max],若顶点k加入U中,则令lowcost[k]=0。 定义二维数组g[ ][ ]来建立无向图的邻接矩阵。 -Prim algorithm using minimum spanning tree of the experimental procedures used in function adjg (), this function is through the acceptance of input points and edges, the establishment of a directed graph. Function of prg () used to calculate and output undirected graph of adjacency matrix. Function prim () is used PRIM Algorithm to find the undirected graph of the minimum spanning tree array defines two lowcost [max], closest [max], if it joined the U of k vertices, then the lowcost [k] = 0. The definition of two-dimensional array g [] [] to create a undirected graph of adjacency matrix.
    2022-03-16 20:21:07下载
    积分:1
  • 素朴贝叶斯文本分类代码
    欢迎下载学习 它很容易理解 贝叶斯分类器,例如,易于理解和适用于模式识别
    2022-04-22 07:31:57下载
    积分:1
  • 库查询示例程序  库查询示例程序  
    数据库查询示例程序  数据库查询示例程序  -Procedures database query database query examples of sample programs
    2022-03-11 05:42:04下载
    积分:1
  • 这是同学信息资料管理系统的设计,包括设计说明!
    这是同学信息资料管理系统的设计,包括设计说明!-This is a classmates information manager design including design specification.
    2022-07-02 06:57:44下载
    积分:1
  • without passwords, directly extract, is a teacher decorated tree ranking two for...
    无需密码,直接解压,是老师布置的二叉排序树的C语言代码,适合学生使用.-without passwords, directly extract, is a teacher decorated tree ranking two forks of C language code, for use by students.
    2023-05-28 22:40:03下载
    积分:1
  • 包含两个文件,一个是.BGI文件,是图形化得驱动,没有它该C语言程序无法正常显示,另外一个是源程序,本程序功能为图形化的计算器...
    包含两个文件,一个是.BGI文件,是图形化得驱动,没有它该C语言程序无法正常显示,另外一个是源程序,本程序功能为图形化的计算器-Contains two files, one. BGI document is too graphic drivers, without which the C language program can not display properly, the other is the source, this program features for the graphical calculator
    2022-02-04 17:56:31下载
    积分:1
  • 696518资源总数
  • 105873会员总数
  • 12今日下载