What Petri Net Obliges Us to Say: Comparing Approaches for Behavior Composition

Achiya Elyasaf, Tom Yaacov, Gera Weiss
4/30/2022
cs.SE

Official code: bThink-BGU/Papers-2022-BP-PN (0 stars, TeX, MIT, last commit 2022-07-10).

Abstract

We identify and demonstrate a weakness of Petri Nets (PN) in specifying composite behavior of reactive systems. Specifically, we show how, when specifying multiple requirements in one PN model, modelers are obliged to specify mechanisms for combining these requirements.

Show full abstract

This yields, in many cases, over-specification and incorrect models. We demonstrate how some execution paths are missed, and some are generated unintentionally. To support this claim, we analyze PN models from the literature, identify the combination mechanisms, and demonstrate their effect on the correctness of the model. To address this problem, we propose to model the system behavior using behavioral programming (BP), a software development and modeling paradigm designed for seamless integration of independent requirements. Specifically, we demonstrate how the semantics of BP, which define how to interweave scenarios into a single model, allow avoiding the over-specification. Additionally, while BP maintains the same mathematical properties as PN, it provides means for changing the model dynamically, thus increasing the agility of the specification. We compare BP and PN in quantitative and qualitative measures by analyzing the models, their generated execution paths, and the specification process. Finally, while BP is supported by tools that allow for applying formal methods and reasoning techniques to the model, it lacks the legacy of PN tools and algorithms. To address this issue, we propose semantics and a tool for translating BP models to PN and vice versa.

View on arXivView PDF

Code Implementations(1)

MIT

Code appendix for the paper "What Petri Net Obliges Us to Say"

00TeX, JavaScriptOct 10, 20214 years agoMIT

Similar Papers

Cite this paper

@article{elyasaf2022what,
  title  = {What Petri Net Obliges Us to Say: Comparing Approaches for Behavior Composition},
  author = {Achiya Elyasaf and Tom Yaacov and Gera Weiss},
  year   = {2022},
  eprint = {2205.00221},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2205.00221}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2205.00221.svg)](https://codeofpaper.com/paper/2205.00221)

Discussion