期刊文献+

改进的哲学家进餐问题无饥饿解的Petri网模型 被引量:3

An Improved Petri Net Model of a Starvation-free Solution to the Dining Philosophers Problem
下载PDF
导出
摘要 哲学家进餐问题是计算机科学中反映同步与并发的经典示例,活性与无饥饿是求解此问题的基本要求。基于两个许可卡轮转的策略,已经给出了一个无饥饿解的Petri网模型。此模型中可能出现两种情况:一个哲学家正在进餐时,另一张许可卡也轮转到他手中,但此卡只能在进餐后传下去;当两个相邻的哲学家都持有许可卡,并都希望进餐时,被竞争的那根筷子不能确定分配给谁。针对这两种情况,对原模型作了修改,提高了系统的效率。 The dining philosophers problem is a classical example of synchronization and concurrency in computer science. Its solution should guarantee the system is live and starvation-free. A Petri net-based starvation-free solution was described, and the policy, in which two dining-cards were cycled, was utilized in this model. Two cases that could lower the system efficiency occurred possibly in the above model: 1) while a philosopher was eating, another card was also transmitted to him, but this card could not be released until he finished dining; 2) when the two adjacent philosophers held one dining-card respectively and wanted to eat, it was not decided which one would possess that shared chopstick. Two corresponding policies are proposed to improve the above Petri net model, and can enhance the system efficiency.
出处 《系统仿真学报》 CAS CSCD 北大核心 2007年第A01期26-28,61,共4页 Journal of System Simulation
基金 国家自然科学基金(60673053)
关键词 哲学家进餐问题 PETRI网 抑止弧Petri网 无饥饿解 the dining philosophers problem Petri net Petri net with inhibitor arcs starvation-free solution
  • 相关文献

参考文献5

  • 1Dijkstra E W. Hierarchical Ordering of Sequential Process [J]. Acta Informatica (S0001-5903), 1971, 1(2): 115-138.
  • 2Peterson J.Petri网理论与系统模拟[M].吴哲辉 译.徐州:中国矿业大学出版社,1989.
  • 3Wu Z H, Murata T. A Petri Net Model of A Starvation-free Solution to the Dining Philosophers Problem [C]// Proceedings of IEEE Workgroup on Languages for Automation, Chicago. 1983.
  • 4李志武,于振华.分布式资源共享系统的进展性设计[J].西安电子科技大学学报,2002,29(5):684-689. 被引量:8
  • 5袁崇义.Petri网原理及应用[M].北京:电子工业出版社,2005.

二级参考文献1

共引文献22

同被引文献11

  • 1Dijkstra E W. Hierarchical Ordering of Sequential Process [J].Acta Informatica(S0001--5903), 1971,1 (2): 115-138.
  • 2Wu Z H, Murata T. A Petri Net Model of A Starvation-free Solution to the Dining Philosophers problem [C]//Proceedings of IEEE Workgroup on Languages for Automation, Chicago, 1983.
  • 3Ramchandni C.. Analysis of Asynchronous Concurrent Systems by Timed Petri Nets[D]. Cambridge, Massachusmts: MIT, Dept. Electrical Engineering, PhD Thesis, 1974.
  • 4David R, Alia H.. Continuous Petri Nets[C]// Proceedings of 8th European Workshop on Application and Theory of Petri Nets, Zaragoza, Spain, 1987: 275 -294.
  • 5Ichikawa A. , Yokoyama K, and Kurogi S. Control of Event-Driven Systems-Reachability and Control of Conflict-Free Petri Nets. Trans[J].Soc. Instrum. Control, Eng. (Japan),1985,21(4):324-330.
  • 6Dijkstra E W. Hierarchical Ordering of Sequential Process [J]. Acta Informatica (S0001 - 5903), 1971, 1 (2) : 115 -138.
  • 7Wu Z H, Murata T. A Petri Net Model of A Starvation - free Solution to the Dining Philosophers Problem [ C ].// Proceedings of IEEE Workgroup on Languages for Automa- tion, Chicago. 1983.
  • 8Dijkstra E W.Hierarchical Ordering of Sequential Process[J].Acta Informatica(S0001-5903),1971,1(2):115-138.
  • 9Wu Z H,Murata T.A Petri Net Model of A Starvation-free Solution to the Dining Philosophers Problem[R].Chicago:Proceedings of IEEE Workgroup on Languages for Automation,1983.
  • 10严蔚敏 吴伟民.数据结构(C语言版)[M].北京:清华大学出版社,1999.50-150.

引证文献3

二级引证文献2

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部