|
This article is cited in 3 scientific papers (total in 3 papers)
Automatic code generation from nested Petri nets to event-based systems on the Telegram platform
D. I. Samokhvalov, L. V. Dvoryanskiy National Research University Higher School of Economics
Abstract:
Nested Petri net formalisms is an extension of coloured Petri net formalism that uses Petri Nets as tokens. The formalism allows creating comprehensive models of multi-agent systems, simulating, verifying and analyzing them in a formal and rigorous way. Multi-agent systems are found in many different fields - from safety critical systems to everyday networks of personal computational devices; and, their presence in the real world in increasing with the increasing number of mobile computational devices. While several methods and tools were developed for modelling and analysis of NP-nets models, the synthesis part of multi-agent systems development via NP-nets is still under active development. The widely used method of automatic generation of target system code from designed and verified formal models ensures obtaining correct systems from correct models. In this paper, we demonstrate how Nested Petri net formalism can be applied to model search-and-rescue coordination systems and automatically generate implementation in the form of the executable code for event-driven systems based on the Telegram platform. We augment the NP-nets models with Action Language annotation, which enables us to link transition firings on the model level to Telegram Bot API calls on the implementation level. The suggested approach is illustrated by the example annotated model of a search and rescue coordination system.
Keywords:
nested petri nets, telegram bot api, action language, event-based systems, code-generation.
Citation:
D. I. Samokhvalov, L. V. Dvoryanskiy, “Automatic code generation from nested Petri nets to event-based systems on the Telegram platform”, Proceedings of ISP RAS, 28:3 (2016), 65–84
Linking options:
https://www.mathnet.ru/eng/tisp38 https://www.mathnet.ru/eng/tisp/v28/i3/p65
|
Statistics & downloads: |
Abstract page: | 170 | Full-text PDF : | 173 | References: | 43 |
|