Transforming Flowchart into Coloured Petri Nets

Utumporn Gulati, W. Vatanawood
{"title":"Transforming Flowchart into Coloured Petri Nets","authors":"Utumporn Gulati, W. Vatanawood","doi":"10.1145/3374549.3374568","DOIUrl":null,"url":null,"abstract":"Flowchart is a common graphical representation of a process or step-by-step solution for a problem simply drawn in the software design stage. A flowchart helps visualize how an algorithm works to solve a problem better than the program source code. However, it is crucial and beneficial to validate the correct behavior of the flowchart automatically using the formal methods. In this paper, we propose a scheme of transforming a basic flowchart into a coloured Petri net so that the designated model could be validated beforehand. A set of mapping rules is proposed to construct the resulting coloured Petri net from a given flowchart. The basic data types, including integer, boolean, and string, are coped in order to simulate the changing of state of variables in the flowchart. The resulting coloured Petri net are simulated and verified to ensure the correctness of its behavior using CPN tools.","PeriodicalId":187087,"journal":{"name":"Proceedings of the 2019 3rd International Conference on Software and e-Business","volume":"100 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2019-12-09","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"3","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 2019 3rd International Conference on Software and e-Business","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3374549.3374568","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 3

Abstract

Flowchart is a common graphical representation of a process or step-by-step solution for a problem simply drawn in the software design stage. A flowchart helps visualize how an algorithm works to solve a problem better than the program source code. However, it is crucial and beneficial to validate the correct behavior of the flowchart automatically using the formal methods. In this paper, we propose a scheme of transforming a basic flowchart into a coloured Petri net so that the designated model could be validated beforehand. A set of mapping rules is proposed to construct the resulting coloured Petri net from a given flowchart. The basic data types, including integer, boolean, and string, are coped in order to simulate the changing of state of variables in the flowchart. The resulting coloured Petri net are simulated and verified to ensure the correctness of its behavior using CPN tools.
将流程图转换为彩色Petri网
流程图是在软件设计阶段简单绘制的问题的过程或逐步解决方案的通用图形表示。流程图比程序源代码更有助于可视化算法是如何解决问题的。然而,使用形式化方法自动验证流程图的正确行为是至关重要和有益的。本文提出了一种将基本流程图转换为彩色Petri网的方案,以便预先验证指定的模型。提出了一套映射规则来构造由给定流程图生成的彩色Petri网。复制基本数据类型,包括整数、布尔和字符串,以模拟流程图中变量状态的变化。所得到的彩色Petri网进行了模拟和验证,以确保其行为的正确性使用CPN工具。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信