PNet:一个用于Petri网建模与仿真的Python库
PNet: A Python Library for Petri Net Modeling and Simulation
摘要:
Petri网是一种描述离散时间内两个或多个状态之间变化的形式主义,已被用于对许多系统进行建模。PNet是一个用Python程序设计语言进行Petri网建模和仿真的纯Python库。PNet的设计重点是通过使用基于文本的语言而不是编程结构来定义转换规则,从而减少定义Petri网所需的学习曲线。复杂的转换规则可以像常规的Python函数一样进行细化。为了证明PNet的简单性,我们提出了两个例子-面包烘焙和流行病学模型。
英文摘要:
Petri Net is a formalism to describe changes between 2 or more states across discrete time and has been used to model many systems. We present PNet - a pure Python library for Petri Net modeling and simulation in Python programming language. The design of PNet focuses on reducing the learning curve needed to define a Petri Net by using a text-based language rather than programming constructs to define transition rules. Complex transition rules can be refined as regular Python functions. To demonstrate the simplicity of PNet, we present 2 examples - bread baking, and epidemiological models.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。