-
lock_hungry
给出进程需求矩阵C、资源向量R以及一个进程的申请序列。使用进程启动拒绝和资源分配拒绝(银行家算法)模拟该进程组的执行情况。要求:
初始状态没有进程启动
计算每次进程申请是否分配?如:计算出预分配后的状态情况(安全状态、不安全状态),如果是安全状态,输出安全序列。
每次进程申请被允许后,输出资源分配矩阵A和可用资源向量V。
每次申请情况应可单步查看,如:输入一个空格,继续下个申请
(The gives processes demand matrix C resource vector R as well as the application of a process sequence. Using the process starts refused to reject and resource allocation (the bankers algorithm) analog implementation of the process group. Requirements: initial state process starts calculated each time the process is whether the application is assigned? : Calculate a state after the pre-allocated (safe state, unsafe state), if it is a safe state, the output safety sequence. Each process the application is allowed, the the output resource allocation matrix A and the resources available vector V. Each application should be able to single-step view, such as: type a space, continue to the next application)
- 2021-01-17 00:38:45下载
- 积分:1
-
Date-increment-1
自定义一个简单的日期类DateType,它具有数据成员y、m、d,用来表示当前日期的年、月、日。而后设计该类欲实现(完成)的功能,进而设计出相应的类成员函数。
例如,下面给出的“雏形”可用来实现对天的增加,比较两个日期是否相等,以及对日期的输出等操作。请完成各类成员函数,并编制主函数,说明DateType类对象,对定义的各成员函数进行调用,以验证它们的正确性。
(Customize a simple date class DateType, it has a data member y, m, d, is used to indicate the current date, month, and day. To achieve the latter design class (complete) function, and then design the appropriate class member functions. For example, the following is the " prototype" is used to achieve the increase of day, compare two date are equal, and the output of dates and other operations. Please complete all kinds of member functions, and prepare the main function, indicating DateType class object for each member function definition be called to verify their correctness.)
- 2013-05-22 21:22:09下载
- 积分:1
-
wave
a wave reader toolkit
- 2010-11-18 15:01:02下载
- 积分:1
-
LynxCombo
完美多列下拉框,带ICO显示,西人作品。(Perfect multi-column drop-down box with ICO showed Westerners works.)
- 2013-12-31 09:31:31下载
- 积分:1
-
Test5
说明: 我的毕业设计,水表读数识别,使用哈夫变换(I graduated from design, water meter readings to identify, the use of Hough transform)
- 2008-12-05 17:13:43下载
- 积分:1
-
test
C++类的创建和调用类中的函数这个更加初学,不过比较适合初学者理解类(C++ classes to create and call functions in this class is more for beginners, but more suitable for beginners to understand class)
- 2010-11-18 17:30:11下载
- 积分:1
-
TextureSplattingDemo
use the term alphamap to refer to a grayscale image residing in a single channel of a texture(use the term alphamap to refer to a grayscal e image residing in a single channel of a texture)
- 2007-05-29 21:24:44下载
- 积分:1
-
bookmark
简单的书签程序,记录一些常用网址。能添加网址,单击网址自动进入网站。(Bookmark procedures, records of some commonly used web site.Add URL, click URL automatically enter the site.
)
- 2012-02-05 13:01:49下载
- 积分:1
-
1514016
这是modbus的应用,觉得这讲的很清楚,希望对大家有所帮助,()
- 2018-04-07 23:50:12下载
- 积分:1
-
Heat-loss-from-a-pipe-in-an-indoor-location
Heat lost from a pipe located indoor. Several Excel
functions included.
- 2013-12-23 20:30:37下载
- 积分:1