Description Usage Arguments Examples
Function to create a petri net by specificing a set of places, transitions, flows and a marking.
1 |
places |
A vector of unique places. |
transitions |
A vector of unique transitions. |
flows |
A data.frame of flows, with columns named "from" and "to". |
marking |
The names of the places to be marked. |
1 2 3 4 | create_PN("place_1",
"transition_1",
data.frame(from = "place_1",to = "transition_1"),
marking = "place_1")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.