cazevedo / gspn-lib Goto Github PK
View Code? Open in Web Editor NEWPython API to create generalized stochastic Petri nets (GSPNs). It allows to capture multi-robot problems as a GSPN and simulate the model.
Python API to create generalized stochastic Petri nets (GSPNs). It allows to capture multi-robot problems as a GSPN and simulate the model.
{'t1': ['imm', 5], 't2': ['imm', 4], 't3': ['imm', 1], 't4': ['exp', 1], 't5': ['imm', 0.6], 't6': ['imm', 0.4], 't7': ['exp', 1]}
Traceback (most recent call last):
File "d:\Thesis\gspn-lib\examples\gspn_build_example.py", line 28, in
a, b = my_pn.add_arcs(arc_in, arc_out)
File "d:\thesis2\petrinets\gspn-lib\gspn_lib\gspn.py", line 229, in add_arcs
aux_in_list[1].append(self.transitions_to_index[transition_in])
KeyError: 't'
This is the error I am getting. But I don't see 't' used anywhere. Not sure how to debug this. Could you please help me?
First of all, I want to thank you for creating this Generalized Stochastic Petri Nets library in Python. It's a valuable resource for those of us working with stochastic processes, and I appreciate the effort you've put into developing and sharing this project.
I noticed that you have a refactored version of the library in this repository, which also includes additional software. The current structure that repository makes it challenging to create a pip-installable package for the library. I was wondering if you have considered applying those changes to this repository, which would allow for a more streamlined installation process using pip.
Having a pip-installable package would make it much easier for users to include your library in their projects and help increase its adoption. If you're open to this idea, I would be happy to help with the process and contribute to the project where needed.
Once again, thank you for your work, and I'm looking forward to your thoughts on this suggestion.
Best regards
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.