-
Notifications
You must be signed in to change notification settings - Fork 21
Token Limit on places #7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Static and Token limits are mutually exclusives. places have to be one or another
…he user interface
…an be saved and load now This still allows previous saves to load
…tokens and then undoing last action would remove a token on that place AddTokenCommand now register number of tokens on node and put that value when undoing instead of removing a token
|
This adds the possibility to set a token limit on each places. |
…ming arc for the same transition and a limit
…ersion Proving the boundedness on a Petri Net with token limit on places seems difficult and out of my league Now, the output precises that the rsults ignore token limits.
Fixed a bug when undoing a AddTokenCommand on a already maxed out place.
The undo would remove a token when the AddTokenCommand actually did nothing
Now the undo put the old value (which can be seen as doing nothing in that case)
Maybe some possible amelioration would be to make the +1 token tool unavailable on maxed out places (with visual effects similar to those on transitions)