Petri网图和code代 [英] Petri net drawing and code generation

查看:348
本文介绍了Petri网图和code代的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有绘制Petri网以及从有任何来源$ C ​​$ C软件吗?该人士$ ​​C $ C可以在任何已知的编程语言...

Is there any software for drawing a Petri net and generating any source code from there? The source code could be in any already known programming language...

略不理想的选择将仅与Petri网图的在基于文本的文件中的一些开放格式的说明中,如XML或任何其他数据的语言来输出文件。然后,我可以写code发电机自己,但至少我想避免的GUI /图发展的一部分;))

Slightly less desirable option would be outputting a file with only the description of the Petri net graphs in a text-based file in some open format, like XML or any other data language. I could then write the code generator myself, but at least I would like to avoid gui/graph development part ;))

感谢

推荐答案

PetriNetSim 该开发在Java中,你可以借鉴和模拟简单/彩色/定时Petri网。它配备了几个例子。您可以在Java扩展弧和节点限制。最后你可以看到生成的Petri网的Java类

Check PetriNetSim it is developed in Java, you can draw and simulate simple/colored/timed petrinets. It comes with few examples. You can extend arc and nodes constraints in Java. And finally you can see java classes of the generated petri net

您可以抓住从GitHub https://github.com/zamzam/PetriNetSim

You can grab the source code from github https://github.com/zamzam/PetriNetSim

这篇关于Petri网图和code代的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆