Checks if the Petri net is a Workflow net
petrinet_check_wfnet(pn, convert = TRUE)
pn | Petri net |
---|---|
convert |
|
A single logical
if (pm4py_available()) { library(eventdataR) data(patients) # As Inductive Miner of PM4PY is not life-cycle aware, keep only `complete` events: patients_completes <- patients[patients$registration_type == "complete", ] net <- discovery_inductive(patients_completes) petrinet_check_wfnet(net$petrinet) }#> [1] TRUE