文件名称:yinhangjia

  • 所属分类:
  • 数值算法/人工智能
  • 资源属性:
  • [C/C++] [源码]
  • 上传时间:
  • 2012-11-26
  • 文件大小:
  • 2kb
  • 下载次数:
  • 0次
  • 提 供 者:
  • 梁*
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

实现死锁避免算法——银行家算法

1、程序运行开始时,资源全部可用。资源种类约10种,每种资源数目为1~10。



2、不断随机产生或手工输入新的“进程资源需求向量”,并填写到最大需求矩阵。



3、在各进程的最大需求数量范围内(因此需作是否超出范围的检验),为各进程随机生成或手工输入资源请求。经银行家算法后输出系统是否安全的信息。当一个进程的资源请求全部发完后,认为它结束

-Deadlock Avoidance Algorithm implementation- one banker' s algorithm, the program running at the beginning of all available resources. About 10 kinds of types of resources, each resource number 1 ~ 10.2, continuously randomly generated or manually enter a new " process of resource requirements vector," and fill in the greatest demand matrix. 3, in the process the greatest number of the scope of the demand (and therefore beyond the scope of required testing), for the process of randomly generated or manually enter the resource requests. By the banker' s algorithm output system after the information is safe. When a process requests resources hair after all, consider it to end
相关搜索: yinhangjia

(系统自动生成,下载前可以参看下载内容)

下载文件列表

yinhangjia.cpp

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org