开放Petri网可达状态求解系统的开发与实现
2016-03-22吴亚光
吴亚光



摘要:Petri网模型是理论计算机科学包括自动机模型和形式语言理论的一个分支,具有自然、直观、简单易懂等特点。开放Petri网是Petri网的一种扩充,在并行模型分析,协议的验证,自动控制等方面有广泛的应用。该文的主要工作在于开发一个可以生成开放Petri网的软件,并能够求解其所有的可达状态,最后通过这样一个软件来研究开放Petri网的可达状态总数随网的规模变化和初始Token数变化而变化的情况。我们得到的结论是在这两种情况下可达状态数都是呈指数增长的。
关键词:开放Petri网 ; Petri网生成 ; 可达状态 ; Petri网规模
中图分类号:TP393 文献标识码:A 文章编号:1009-3044(2016)02-0213-03
Abstract: The model of Petri Net is a branch of theoretical computer science with automaton model and theory of formal language. It is nature, intuitive and easy understanding. Open Petri Net is an expansion of Petri Net and widely used in analysis of parallel model, protocol verification and automatic control. The main work of this subject is to develop a software to build a open Petri Net and calculate all its reachable markings, which meanwhile outputs them. In the end we study the changes of reachable markings when the scale of Nets is increasing by the software. The conclusion we got is that the reachable markings are growing exponentially when the scale of Petri Nets and the initial Tokens are increasing.
Key words: Open Petri Nets; Generation of Petri Nets; Collection of Reachable Markings; Scale of a Petri Net
1 问题的提出
在Petri网研究与应用的发展历史中,它的应用范围已经远远超出了计算机科学的领域,成为研究离散事件动态系统的一种有用工具。如今,Petri网模型在众多方面得以应用,如分布式软件系统,分布式数据库系统,并发并行计算,柔性制造系统,多处理机系统,逻辑推理,办公自动化系统,形式语言,神经元网络和决策模型等。Petri网在如今各个科学领域都已经有了重要的地位,Petri网的分析方法和应用范畴也在被不断扩展,因此实用的Petri分析工具的开发研制也受到各国Petri网研究者的重视。
可达性研究是研究一个Petri网的可能达到的状态和各个状态之间的关系。我们想清楚得到需要研究的网的每个可达状态和它们之间的关系,通过研究开放Petri网的可达状态随着网的规模的变化而变化的情况,来给基于Petri网建模的实际应用系统的研究提供依据,这也就是本文的研究意义。……
