Description Usage Arguments Value Examples
Checks if the Petri net is relaxed sound
1  | petrinet_check_relaxed_soundness(pn, im = NULL, fm = NULL, convert = TRUE)
 | 
pn | 
 Petri net  | 
im | 
 Initial marking of the Petri net (optional for workflow nets)  | 
fm | 
 Final marking of the Petri net (optional for workflow nets)  | 
convert | 
 
  | 
A single logical
1 2 3 4 5 6 7 8 9 10 11  | 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_relaxed_soundness(net$petrinet)
}
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.