create_PN {petrinetR} | R Documentation |
Create Petri Net
Description
Function to create a petrinet
by specifying places, transitions and flows.
Usage
create_PN(places, transitions, flows)
Arguments
places |
|
transitions |
|
flows |
|
Value
A petrinet
Examples
library(dplyr)
create_PN(tibble(id = "p1", label = "place_1"),
tibble(id = "t1", label = "transition_1"),
tibble(from = "t1",to = "p1"))
[Package petrinetR version 0.3.0 Index]