Giter VIP home page Giter VIP logo

gspn-lib's People

Contributors

cazevedo avatar upsetrussianpotato avatar

Watchers

 avatar  avatar

gspn-lib's Issues

Thank you and question about creating a pip-installable package

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

Running into error while running the gspn_build_example.py

{'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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.