登录
首页 » Visual C++ » lock_hungry

lock_hungry

于 2021-01-17 发布 文件大小:1KB
0 134
下载积分: 1 下载次数: 22

代码说明:

   给出进程需求矩阵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)

文件列表:

lock_hungry.cpp,3461,2013-01-08

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

发表评论


0 个回复

  • Calculater
    Calculator program design by visual basic
    2013-09-23 17:38:25下载
    积分:1
  • bpnnet_156
    在实际应用中,原始的BP算法很难胜任,因此出现了很多的改进算法。BP算法的改进主要有两种途径,一种是采用启发式学习方法,另一种则是采用更有效的优化算法。本例采用动量BP算法,来实现对网络的训练过程,动量法降低了网络对于误差曲面局部细节的敏感性,有效地抑制网络陷于局部极小。 (In practical applications, the original BP algorithm very difficult to do, so there were a lot of the improved algorithm. BP Algorithm There are two main channels, a heuristic learning method is adopted, another is the introduction of more efficient optimization algorithm. In this case the use of momentum BP algorithm to realize the network training process, momentum method to reduce the network error surface for the local details of the sensitivity of the network effectively inhibited in a local minimum.)
    2008-06-16 20:29:09下载
    积分:1
  • 0087654
    给工具栏按钮设置下拉箭头,VC++编程精选学习源码,很好的参考资料。(To set the drop-down arrow button on the toolbar, select learning VC++ programming source code, a good reference.)
    2013-11-19 10:53:26下载
    积分:1
  • wincedriver
    学习WINCE驱动开发的入门书籍 很不错的(Learning WINCE entry driven development is very good books)
    2009-01-16 14:48:42下载
    积分:1
  • AVWizard
    音视频捕捉和回放类,并包含调节向导示例,示例中展示如何使用该类,开放人员完全可以将这些类放入自己的工程使用。代码使用direct sound技术封装,包含文件录音,多文件混音播放,本地录音回放,音量调节等多个功能示例。(video&audio wizard demo)
    2012-06-02 15:16:29下载
    积分:1
  • src
    说明:  steganography challenge in c++
    2020-05-08 21:52:36下载
    积分:1
  • BKR__hamming
    7,4汉明码及未编码和多种译码方法误码率性能的对比(Comparison of BER performance between 7,4 hamming codes and uncoded and multiple Decoding methods)
    2019-04-03 00:14:31下载
    积分:1
  • ModbusCommunicationTest
    MODBUS通信协议,用VC6.0调试通过,非常好用,做上位机用这个很好(MODBUS communication protocol with VC6.0 debugging through, very easy to do well with this PC)
    2013-09-11 23:12:54下载
    积分:1
  • Mac
    中国科学院力学研究所,李新亮,计算流体力学,第四次作业,激波管计算程序(Mechanics Institute, Li Xinliang, computational fluid dynamics, the fourth operation, shock tube calculation program)
    2020-07-03 04:00:01下载
    积分:1
  • MapXDevopementInChinese
    该文档能为初学者更好的了解用mapinfo空件开发gis带来的好处(the document for beginners with a better understanding of the development of MapInfo empty pieces of the benefits gis)
    2006-10-23 16:48:42下载
    积分:1
  • 696518资源总数
  • 104658会员总数
  • 44今日下载