Comments (2)
from pipecore.
Hi Steve,
In general, the decision about which of multiple enabled transitions to fire next, is random.
In our case, control is reversed: the client decides which transition fires, the net provides the information which transitions are available and which places are marked.
My question was more about embedding third-party data in the net. The solution to use the id
field isn't bad at all. Using the id
, we assign URIs to all the places/transitions that we are interested in for firing or querying. Everything else is handled on the client side.
The only downside for me with this solution is that we have to use the URIs in the GUI, too, which just looks cumbersome. It would be better for readability if we could give places and transitions human readable names in addition to id
field. The xml structure suggests that that's possible, but name
and id
are always the same (at least in uk.ac.imperial:pipe-core:1.0.3
).
from pipecore.
Related Issues (12)
- PetriNetIOImpl does not load arcs correctly
- Interfaces! HOT 1
- Infinite Server semantics not supported in Animation HOT 1
- ClonePetriNet does not clone petri net name
- Petrinet layout
- Get random enabled conflict - is missing one transition when selecting out of possible HOT 3
- Index out of bounds trying to open an existing Petri net
- InvalidRateException opening a Petri net with rate parameter referencing a place
- Transition incorrectly enabled when inbound place is empty and arc weight expression evaluates to zero
- I can't run the source code through the 'maven build' in the eclipse? HOT 11
- Java library? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pipecore.